[beta.31] npm WARN at installation in global
See original GitHub issuePlease provide us with the following information:
When I run npm -g i @angular/cli
, warnings are shown as the below:
npm WARN @ngtools/webpack@1.2.9 requires a peer of @angular/compiler@^2.3.1 || >=4.0.0-beta <5.0.0 but none was installed.
npm WARN @ngtools/webpack@1.2.9 requires a peer of @angular/compiler-cli@^2.3.1 || >=4.0.0-beta <5.0.0 but none was installed.
npm WARN @ngtools/webpack@1.2.9 requires a peer of @angular/core@^2.3.1 || >=4.0.0-beta <5.0.0 but none was installed.
npm WARN @ngtools/webpack@1.2.9 requires a peer of @angular/tsc-wrapped@^0.5.0 but none was installed.
OS?
Mac OS El Capitan
Versions.
Please run
ng --version
. If there’s nothing outputted, please run in a Terminal:node --version
and paste the result here:
@angular/cli: 1.0.0-beta.31 node: 6.9.5 os: darwin x64
Repro steps.
Was this an app that wasn’t created using the CLI? What change did you do on your code? etc.
$ npm -g uni @angular/cli
$ npm -g i @angular/cli
The log given by the failure.
Normally this include a stack trace and some more information.
Mention any other details that might be useful.
Thanks! We’ll be in touch soon.
Issue Analytics
- State:
- Created 7 years ago
- Reactions:11
- Comments:12
Top Results From Across the Web
npm WARN ... requires a peer of ... but none is installed. You ...
npm WARN @angular/cdk@2.0.0-beta.10 requires a peer of @angular/core@^4.3.0 but none is installed. You must install peer dependencies yourself.
Read more >@angular/cli - npm
3rd Party Library Installation · First, create a typings.d.ts file in your src/ folder. This file will be automatically included as global type...
Read more >vue - npm
vue.global.js is the "full" build that includes both the compiler and ... This means you can install/import these deps individually without ...
Read more >npm-check-updates
Run npm install to update your installed packages and package-lock.json. clean output; sensible defaults; lots of options for custom ...
Read more >angular/flex-layout - npm
Latest version: 14.0.0-beta.41, last published: 2 months ago. Start using @angular/flex-layout in ... Install. npm i @angular/flex-layout ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Again, as a workaround, installing all these modules globally after the update of @angular/cli makes everything work correctly for me:
@nam4dev I read here https://github.com/angular/angular-cli/issues/2389#issuecomment-278913860 that modifying those settings are not advised, and could cause memory issues instead.