-
Notifications
You must be signed in to change notification settings - Fork 12k
Instalation error #6821
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Both the CLI and generated project have dependencies that require Node 6.9.0 or higher, together with NPM 3 or higher, please update your node and npm. https://github.com/angular/angular-cli#prerequisites Use below command to install CLI
|
Hi ragueshvr,
Thanks for reply.
Getting similar error with node 6.11.0 and npm 3.8.8
$ npm install -g @angular/cli
C:\Users\rortscam\AppData\Roaming\npm\ng -> C:\Users\rortscam\AppData\Roaming\npm\node_modules\@angular\cli\bin\ng
C:\Users\rortscam\AppData\Roaming\npm
`-- @angular/[email protected]
npm WARN optional Skipping failed optional dependency /@angular/cli/chokidar/fsevents:
npm WARN notsup Not compatible with your operating system or architecture: [email protected]
|
Are you getting any error related to node-gyp? This is most probably something that is mentioned here #1560 (comment) Also, can you please get the complete log from the console? |
That's the complete log: npm WARN optional Skipping failed optional dependency /@angular/cli/chokidar/fsevents: |
This seems to be an optional dependency warning only, See if you have angular-cli installed with below command:
--no-optional flag with npm install, should get rid of those though. |
Yeah that is just a warning, and is fine. It's a dependency that's only really needed for OSX systems. Thanks to @rageshvr for helping out! |
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
I get an error installing angular-cli
Versions.
node --version v4.2.3
npm --version 3.8.8
Windows 7
Repro steps.
$ npm install -g angular-cli
npm WARN deprecated [email protected]: angular-cli has been renamed to @angular/cli. Please update your dependencies.
npm WARN deprecated [email protected]: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
C:\Users\rortscam\AppData\Roaming\npm\ng -> C:\Users\rortscam\AppData\Roaming\npm\node_modules\angular-cli\bin\ng
C:\Users\rortscam\AppData\Roaming\npm
-- [email protected]
-- UNMET PEER DEPENDENCY rxjs@^5.0.1npm WARN optional Skipping failed optional dependency /angular-cli/chokidar/fsevents:
npm WARN notsup Not compatible with your operating system or architecture: [email protected]
npm WARN @angular/[email protected] requires a peer of rxjs@^5.0.1 but none was installed.
The text was updated successfully, but these errors were encountered: