You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I just tried to install the latest version of the angular-cli @angular/[email protected]. The installation ends with warnings, however, when I try to run ng serve I get the following error:
Cannot find module '@angular/compiler-cli'
Error: Cannot find module '@angular/compiler-cli'
at Function.Module._resolveFilename (module.js:470:15)
at Function.Module._load (module.js:418:25)
at Module.require (module.js:498:17)
at require (internal/module.js:20:19)
at Object.<anonymous> (/usr/local/lib/node_modules/@angular/cli/node_modules/@ngtools/webpack/src/plugin.js:5:24)
Also if I run npm list -g --depth=0 I get the following errors:
npm ERR! peer dep missing: @angular/compiler@^2.3.1 || >=4.0.0-beta <5.0.0, required by @ngtools/[email protected]
npm ERR! peer dep missing: @angular/compiler-cli@^2.3.1 || >=4.0.0-beta <5.0.0, required by @ngtools/[email protected]
npm ERR! peer dep missing: @angular/core@^2.3.1 || >=4.0.0-beta <5.0.0, required by @ngtools/[email protected]
npm ERR! peer dep missing: @angular/tsc-wrapped@^0.5.0, required by @ngtools/[email protected]
I am running on a Mac (El Capitan 10.11.6) and ng -v outputs the following:
I just tried to install the latest version of the angular-cli
@angular/[email protected]
. The installation ends with warnings, however, when I try to runng serve
I get the following error:Also if I run
npm list -g --depth=0
I get the following errors:I am running on a Mac (El Capitan 10.11.6) and
ng -v
outputs the following:The text was updated successfully, but these errors were encountered: