-
Notifications
You must be signed in to change notification settings - Fork 12k
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
Init error (npm 2 dependency) #2179
Comments
I'm almost certain you've misread this error. NPM 2 is not required by any of the dependencies, and it looks more like an issue with webpack. Have you tried This looks like a dirty environment more than anything. |
See theese lines in log
And there is |
That's saying that you have npm v2.14.21 installed. You'll need to update it as angular-cli requires 3.x.x. |
This is not my global npm, this is local npm from ember-cli dependency. |
BTW I'am able to install packages, using my global npm |
Similar issue, works fine the first time I do |
Ok, found the solution on my side: I had put |
@filipesilva alias npm-exec='PATH=$(npm bin):$PATH'
npm-exec ng init and npm versions are... $ npm -v
3.10.3
$ npm-exec npm -v
2.14.21
|
We, probably, can |
I made a PR #2301 |
Experiencing the same issue. Looks like peer dependancies need to be updated. Works fine on my local machine
but get's this error on CircleCI, which is running Ubuntu 14.04 (Trusty) |
@ValeryVS I just tested myself, and during The origin of your problem is using your @nathan-j-brenner check |
Another way this error condition can present itself is if you install npm3 as recommended on the npm3 package page [https://www.npmjs.com/package/npm3]. In that case you end up with |
I should mention that there is also a |
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. |
Ubuntu 14.04
ng --version
. If there's nothing outputted, please runin a Terminal:
node --version
and paste the result here:do on your code? etc.
ng init
more information.
Package
[email protected]
depends on
[email protected]
"Installing packages for tooling via npm." use this npm@2
But
npm 2
can not install new webpack.Hashnode/mern-cli#12
kentcdodds/es6-todomvc#4
The text was updated successfully, but these errors were encountered: