Skip to content
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

Installation Fail (Failed at the [email protected] install script 'node scripts/install.js'.) #4445

Closed
RuSTer1241 opened this issue Feb 6, 2017 · 6 comments

Comments

@RuSTer1241
Copy link

Installation Fail (Failed at the [email protected] install script 'node scripts/install.js'.)
Attach:
npm-debug.log.tar.gz

Info
istributor ID: Ubuntu
Description: Ubuntu 14.04.4 LTS
Release: 14.04
npm ERR! node v6.9.1
npm ERR! npm v3.10.9

Ubuntu terminal log:
developer@image-4963-l:~/Projects/angular-quickstart/angular_tutor/codelyzer_demo$ sudo npm install -g @angular/cli
npm WARN deprecated [email protected]: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
/usr/local/bin/ng -> /usr/local/lib/node_modules/@angular/cli/bin/ng

[email protected] install /usr/local/lib/node_modules/@angular/cli/node_modules/node-sass
node scripts/install.js
module.js:471
throw err;
^

Error: Cannot find module '/usr/local/lib/node_modules/@angular/cli/node_modules/node-sass/scripts/install.js'
at Function.Module._resolveFilename (module.js:469:15)
at Function.Module._load (module.js:417:25)
at Module.runMain (module.js:604:10)
at run (bootstrap_node.js:394:7)
at startup (bootstrap_node.js:149:9)
at bootstrap_node.js:509:3
/usr/local/lib
└── (empty)

npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.0.0 (node_modules/@angular/cli/node_modules/chokidar/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
npm WARN @angular/[email protected] requires a peer of rxjs@^5.0.1 but none was installed.
npm ERR! Linux 3.13.0-88-generic
npm ERR! argv "/opt/node/bin/node" "/usr/local/bin/npm" "install" "-g" "@angular/cli"
npm ERR! node v6.9.1
npm ERR! npm v3.10.9
npm ERR! code ELIFECYCLE

npm ERR! [email protected] install: node scripts/install.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install script 'node scripts/install.js'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the node-sass package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node scripts/install.js
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs node-sass
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls node-sass
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR! /home/developer/Projects/angular-quickstart/angular_tutor/codelyzer_demo/npm-debug.log
npm ERR! code 1
developer@image-4963-l:~/Projects/angular-quickstart/angular_tutor/codelyzer_demo$ ll
total 704
drwxrwx--- 3 developer developer 4096 лют 3 19:07 ./
drwxrwx--- 7 developer developer 4096 лют 3 18:00 ../
drwxrwx--- 9 developer developer 4096 лют 3 18:38 angular-seed/
-rw-r----- 1 root root 705557 лют 3 19:07 npm-debug.log

@catull
Copy link
Contributor

catull commented Feb 6, 2017

This is a duplicate of #4429.

@M-Abozaid
Copy link

same here
I tried npm rebuild node-sass but it didn't fix it

@bitconym
Copy link

bitconym commented Feb 8, 2017

Same with me on Linux after I updated node to version 6.9.5 with nvm node version manager.

@oolongtea
Copy link

Same error. npm rebuild node-sass didn't fix for me either.

node: v6.9.5
npm:  v3.10.10

$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 16.04.2 LTS
Release:        16.04
Codename:       xenial
$ uname -a
Linux machine 4.9.0-040900-generic #201612111631 SMP Sun Dec 11 21:33:00 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux

@filipesilva
Copy link
Contributor

Dupe of #4429

@angular-automatic-lock-bot
Copy link

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.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Sep 6, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants