Hi,

As a heads up, I've pushed Jane Sandberg's patch for bug 2096711 [1] to
main today.

This patch causes Evergreen's developer setup process [2] to no longer
install the Angular CLI by default. Instead, the "ng" command draws from
the copy installed in Open-ILS/src/eg2/node_modules/ (once you've run "npm
install").

Concretely, that means that various ng commands run from Open-ILS/src/eg2
should be prefixed by "npx", e.g.,

npx ng build --watch
npx ng lint

... and so forth.

I have elected not to push this to rel_3_16 (though this is not a firm
decision), but using "npx ng" in rel_3_16 (and rel_3_15) should work as
well as bare "ng" in those versions.

The commit does not automatically *remove *any Angular CLI that was
previously installed. If you want to remove the global Angular CLI on your
dev system, you can run

sudo npm uninstall -g @angular/cli

[1] https://bugs.launchpad.net/evergreen/+bug/2096711
[2] E.g., make -f Open-ILS/src/extras/Makefile.install debian-FOO-developer

Regards,

Galen
-- 
Galen Charlton
Implementation and IT Manager
Equinox Open Library Initiative
[email protected]
https://www.equinoxOLI.org
phone: 877-OPEN-ILS (673-6457)
direct: 770-709-5581
<http://evergreen-ils.org>
_______________________________________________
Evergreen-dev mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to