I have a build process (TFS) for gated check-ins. The build does the follow:
- Get latest soruce
npm installnpm run buildnpm run build:test- more stuff...
The npm install part takes 2.9 minutes mostly because it installs angular-cli.
I have the angular-cli installed globally on the machine, why can't I use the global installation?
If I try to remove @angular/cli from my devDependencies, I got the error:
You have to be inside an angular-cli project in order to use the build command after reinstall of angular-cli
Versions:
- @angular/[email protected]
- node 6.2.0
- npm 3.8.9
- Windows 2012
beta.28or earlier). The angular CLI project has changed fromangular-clito@angular/cli, and projects created with@angular/cliaren't compatible with the older releases.