Closed
Description
- Mac OSX El Capitan
- Node 5.2.0, 6.0.0., 6.6.0
- I'm trying to install the latest version of angular-cli:
npm uninstall -g angular-cli
npm cache clean
npm install -g angular-cli@latest
- For node 5.2.0 (npm version 3.3.12) I get errors:
npm WARN install Couldn't install optional dependency: Invalid name: "@angular/tsc-wrapped"
npm WARN install Couldn't install optional dependency: Invalid name: "@angular-cli/base-href-webpack"
npm WARN install Couldn't install optional dependency: Invalid name: "@angular/platform-browser"
npm WARN install Couldn't install optional dependency: Invalid name: "@angular/platform-server"
npm WARN install Couldn't install optional dependency: Invalid name: "@angular/compiler"
npm WARN install Couldn't install optional dependency: Invalid name: "@angular-cli/ast-tools"
npm WARN install Couldn't install optional dependency: Invalid name: "@angular/compiler-cli"
npm WARN install Couldn't install optional dependency: Invalid name: "@angular/common"
npm WARN install Couldn't install optional dependency: Invalid name: "@angular/core"
For node 6.6.0
npm ERR! Darwin 15.6.0
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" "-g" "angular-cli@latest"
npm ERR! node v6.6.0
npm ERR! npm v3.10.3
npm ERR! Invalid name: "@angular/tsc-wrapped"
For node 6.0.0
(node:89154) fs: re-evaluating native module sources is not supported. If you are using the graceful-fs module, please update it to a more recent version.
npm ERR! Darwin 15.6.0
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" "-g" "angular-cli@latest"
npm ERR! node v6.0.0
npm ERR! npm v3.8.6
npm ERR! Invalid name: "@angular-cli/base-href-webpack"