Closed prestonvanloon closed 7 years ago
A lot of warnings from npm i
.
npm i
npm WARN @angular/common@2.4.10 requires a peer of @angular/core@2.4.10 but none was installed.
npm WARN @angular/compiler-cli@2.4.10 requires a peer of @angular/compiler@2.4.10 but none was installed.
npm WARN @angular/compiler-cli@2.4.10 requires a peer of @angular/core@2.4.10 but none was installed.
npm WARN @angular/forms@2.4.10 requires a peer of @angular/core@2.4.10 but none was installed.
npm WARN @angular/http@2.4.10 requires a peer of @angular/core@2.4.10 but none was installed.
npm WARN @angular/platform-browser@2.4.10 requires a peer of @angular/core@2.4.10 but none was installed.
npm WARN @angular/platform-browser-dynamic@2.4.10 requires a peer of @angular/core@2.4.10 but none was installed.
npm WARN @angular/platform-browser-dynamic@2.4.10 requires a peer of @angular/compiler@2.4.10 but none was installed.
npm WARN @angular/router@3.4.10 requires a peer of @angular/core@2.4.10 but none was installed.
npm WARN codelyzer@2.0.1 requires a peer of @angular/compiler@^2.3.1 || >=4.0.0-beta <5.0.0 but none was installed.
npm WARN codelyzer@2.0.1 requires a peer of @angular/core@^2.3.1 || >=4.0.0-beta <5.0.0 but none was installed.
Sorry, this seems like an angular-cli bug, installing an older version helped me:
npm i @angular/cli@1.0.0-rc.2
npm start
Can we pin to 1.0.0-rc.2
?
Feel free to do that, though I'd guess this will be fixed in the next couple of days
I'll leave this open for now and see if the next release resolves it.
New error with angular cli v1.
You seem to not be dependending on "@angular/core". This is an error.
There might be clues here: https://github.com/angular/angular-cli/wiki/stories-1.0-update
npm -v 3.10.10
node -v v6.10.0
Steps to reproduce:
npm i
npm start
Error:
npm-debug.log: