LP#1830972: Pin Angular-CLI version in Makefile
authorBen Shum <ben@evergreener.net>
Wed, 29 May 2019 11:46:13 +0000 (07:46 -0400)
committerGalen Charlton <gmc@equinoxinitiative.org>
Wed, 29 May 2019 21:30:45 +0000 (17:30 -0400)
During the Makefile process, we install angular-cli (which gets the latest).
Pin to version 7.0.7 (to match version we use for eg2) and avoid compatiblity
problems with new angular-cli v8.0+ and our current node.js version.

Signed-off-by: Ben Shum <ben@evergreener.net>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Open-ILS/src/extras/install/Makefile.common

index 96ec3b8..4044ff3 100644 (file)
@@ -36,7 +36,7 @@ install_nodejs_from_source:
        wget -N $(NODEJS_BINARY)
        tar -C /usr/local --strip-components 1 -xJf $(NODEJS_TARBIN)
        npm update
-       npm install -g @angular/cli
+       npm install -g @angular/cli@7.0.7
 
 clean:
        make -C $(LIBDBI) clean