angular-cli icon indicating copy to clipboard operation
angular-cli copied to clipboard

Letest angular-cli installation fails for node 8.5 Windows10

Open Debananda opened this issue 9 years ago • 5 comments

Your environment has been set up for using Node.js 8.5.0 (x64) and npm. npm --version 5.3.0

Getting below error while installing latest @angular/cli

Log in node command prompt npm ERR! code EINTEGRITY npm ERR! sha1-+RcExT0bRh+JNFKwwwfZmXZHq2s= integrity checksum failed when using sha1: wanted sha1-+RcExT0bRh+JNFKwwwfZmXZHq2s= but got sha1-Yq0sdfD20mbR6JvI6M+yEGYWrPo=. (24137 bytes)

Log from debug File : \Users\xxxxxxxx\AppData\Roaming\npm\node_modules.staging 10493 warn optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules@angular\cli\node_modules\node-sass): 10494 warn enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, utime 'C:\Users\xxxxxxx\AppData\Roaming\npm\node_modules.staging\node-sass-2b9d77df\test\useragent.js'

Debananda avatar Sep 16 '17 04:09 Debananda

@Debananda were you able to fix this issue, facing same issue on Elementary OS with Node.js v8.5.0

mrtipster49 avatar Sep 17 '17 12:09 mrtipster49

Unfortunately this is an npm issue, that we are unable to help with. Please consult the npm documentation.

Brocco avatar Sep 22 '17 16:09 Brocco

I have exactly the same issue with OS X 10.13 using a fresh install of Node via Homebrew. I'm using npm 5.3.0

alsoicode avatar Sep 26 '17 20:09 alsoicode

@alsoicode This issue was caused because i used sudo command to install angular, i was able to fix it by changing npm permissions and install angular-cli without sudo on Elementary Os with Node v8.5.0 refer this link https://docs.npmjs.com/getting-started/fixing-npm-permissions to fix npm permissions.

mrtipster49 avatar Sep 27 '17 13:09 mrtipster49

This issue has been automatically locked due to inactivity. Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.