-
Notifications
You must be signed in to change notification settings - Fork 12k
Errors during install of angular-cli #1560
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
had the same issue @Jorg71
After init edit package.json and change "^1.0.0-beta.11-webpack" to "1.0.0-beta.11-webpack" Run |
@fhdk : Doesn't work for me. Unfortunately I run into errors. Maybe the version
The document for upgrading instructs to install the angular-cli@webpack:
|
Your node/npm is not latest version - could be by intention - but what happens if you install the latest node v6.3.0 / npm 3.10.6 |
Same here in an absolutly clean install in a docker container:
btw Python version is 2.7.12 |
I followed this: https://github.com/Microsoft/nodejs-guidelines/blob/master/windows-environment.md#compiling-native-addon-modules I think its working now. Definitely compiling something... i updated node first and am running windows 10 |
I am having the same issue. Just started development on angular 2 and was trying to install the web pack version of angular-cli but unable to install. Given below is the console log and also nom-debug log is attached. Please let me know how can I get get it successfully installed ? $ sudo npm install -g [email protected]
node-pre-gyp ERR! Tried to download: https://node-zopfli.s3.amazonaws.com/Release/zopfli-v1.4.0-node-v46-darwin-x64.tar.gz
PhantomJS not found on PATH
Binary downloaded and installed at /usr/local/lib/node_modules/angular-cli/node_modules/node-sass/vendor/darwin-x64-46/binding.node
[fsevents] Success: "/usr/local/lib/node_modules/angular-cli/node_modules/webpack/node_modules/watchpack/node_modules/chokidar/node_modules/fsevents/lib/binding/Release/node-v46-darwin-x64/fse.node" already installed
"/usr/local/lib/node_modules/angular-cli/node_modules/node-sass/vendor/darwin-x64-46/binding.node" exists. npm ERR! peerinvalid The package [email protected] does not satisfy its siblings' peerDependencies requirements! npm ERR! Please include the following file with any support request: |
Solution: On my notebook I built in an new SSD drive two weeks ago. After that I installed Windows 10 on the SSD and then some applications. So my system is quite untouched. Installation of At first I updated to the current version of node (v6.3.1, includes npm 3.10.3): https://nodejs.org/en/download/current/ After that:
|
Thanks. Upgrading to latest node version 6.2.2 made it work |
@Jorg71 you shouldn't need all those extra pre-requisites. There might be a problem with one of our indirect dependencies that needs a libthat doesn't work well on windows. |
Upgrading to the latest node version didn't do it for me. tl;dr I solved this by doing the following: My troubleshooting process At this point I noticed the installer errored on installing node-pre-gyp, same as op
i thought manually running the following would do the trick:
|
@filipesilva I hope you find out what's going on and fix it. I saw that a lot of people using the angular-cli are developing on Mac. But the number of Windows OS systems is 7 times bigger - worldwide. So I think if you want to have success with the cli, you need to provide a version that is easy to install and stable on Windows. |
@Jorg71 I do all of my CLI development on a Windows 10 machine. I looked into this a bit more and some clarifying is in order. The errors you are seeing are NOT As long as the To reiterate though - you do not need to install anything @neo-sumeet did see some Thus I'm closing this issue. There is nothing to fix. |
Upgrading node to 6.6.0 worked for me. |
Running command below solved an issue locally on developer laptop.
It installed python. |
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. |
NPM: 3.10.5
Node: v4.4.7
OS: Windows 10
I'm trying to install the webpack-version.
At first I uninstalled the beta-10 version:
During installation I get some errors (see below)
Trying to install the new webpack-version of angular-cli, I get the following messages:
The text was updated successfully, but these errors were encountered: