Reputation: 5
Even after re-installation can't make ng use angular-cli 1.6
sudo npm install -g @angular/cli --unsafe-perm
/usr/bin/ng -> /usr/lib/node_modules/@angular/cli/bin/ng npm WARN @schematics/[email protected] requires a peer of @angular-devkit/[email protected] but none is installed. You must install peer dependencies yourself. npm WARN @schematics/[email protected] requires a peer of @angular-devkit/[email protected] but none is installed. You must install peer dependencies yourself.
+@angular/[email protected]
updated 1 package in 22.197s
ng still shows older version
$ ng -v
angular-cli: 1.0.0-beta.28.3
node: 8.9.2
os: linux x64
@angular/common: 2.4.10
@angular/compiler: 2.4.10
@angular/core: 2.4.10
@angular/forms: 2.4.10
@angular/http: 2.4.10
@angular/platform-browser: 2.4.10
@angular/platform-browser-dynamic: 2.4.10
@angular/router: 3.4.10
@angular/compiler-cli: 2.4.10
Upvotes: 0
Views: 359