-
Notifications
You must be signed in to change notification settings - Fork 12k
Error in installation . #1684
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
same issue here. the little info I found on errors like this said you could ignore them but that does not seem to be correct as npm install stops at that point. when I ran ng new it immediately errored out stating could not find portfinder and am unable to run npm install on angular-cli as I get the error mentioned in the original post. |
Same problem solved by using NPM3 for me |
I had the same problem trying to upgrade from angular-cli: 1.0.0-beta.10 to angular-cli@webpack My environment: node v4.5.0, npm 2.15.9, Ubuntu 14.04. Resolved when upgraded to node v6.4.0, npm 3.10.3. After successful installation I've seen only following text in red: |
@davinkevin's method worked for me -- I used the npm3 package and it installed as admin under Windows x64. |
The problem is that NPM3 is needed, yes. It's not currently mentioned on the readme but #1748 adds that. |
how to use npm3 ? |
@akashgill1687 |
cool it worked . i updated my npm . now can i upgrade my new project created with angular cli to to rlc5 ? and use rlc5 features ? if yes could you please jot down some steps for that please ? Thanks a lot |
i would like to add rlc5 features like aot ? |
We don't currently support AOT but are working to get that into the CLI. To update NPM, see http://stackoverflow.com/a/6237400/2116927 |
alright but can i use this compiler with cli@webpack : https://github.com/angular/angular/tree/master/modules/%40angular/compiler-cli |
i ended up this issue : ERROR in [default] sampleApp/node_modules/@angular/core/src/facade/lang.d.ts:56:51 ERROR in [default] sampleApp/node_modules/@angular/core/src/facade/lang.d.ts:63:49 ERROR in [default] sampleApp/node_modules/@angular/core/src/facade/lang.d.ts:67:58 ERROR in [default] sampleApp/node_modules/@angular/core/src/facade/lang.d.ts:72:36 Angular 2 rlc5 with angular-cli errors while ng serve |
We don't currently support it so I don't think that'll work. |
install node v6.4.0 manually from https://nodejs.org/en/ @19390917 is right. |
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. |
OS? Windows 7, 8 or 10. Linux (which distribution). Mac OSX (Yosemite? El Capitan?)
Mac OSX El Capitan
Versions. Please run
ng --version
. If there's nothing outputted, please runin a Terminal:
node --version
and paste the result here:node v4.4.7
angular-cli 1.0.0-beta.11-webpack.2
Repro steps. Was this an app that wasn't created using the CLI? What change did you
do on your code? etc.
Nothing
The log given by the failure. Normally this include a stack trace and some
more information.
Can not install last
233632 verbose stack at /usr/local/lib/node_modules/npm/node_modules/read-installed/read-installed.js:263:14
233633 verbose cwd /Users/goriunov
233634 error Darwin 15.6.0
233635 error argv "/usr/local/bin/node" "/usr/local/bin/npm" "i" "-g" "[email protected]"
233636 error node v4.4.7
233637 error npm v2.15.8
233638 error code EPEERINVALID
233639 error peerinvalid The package [email protected] does not satisfy its siblings' peerDependencies requirements!
233639 error peerinvalid Peer @angular/[email protected] wants typescript@^1.9.0-dev
233639 error peerinvalid Peer [email protected] wants typescript@>=1.8.0 || >=1.9.0-dev
233639 error peerinvalid Peer [email protected] wants typescript@>=1.7.3
233640 verbose exit [ 1, true ]
Mention any other details that might be useful.
I just installed new OS and installed node after i run installation of Angular CLI and i could not do it
The text was updated successfully, but these errors were encountered: