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

Node-Gyp Install Issue #679

Closed
kirillminiaev opened this issue Feb 13, 2015 · 1 comment
Closed

Node-Gyp Install Issue #679

kirillminiaev opened this issue Feb 13, 2015 · 1 comment

Comments

@kirillminiaev
Copy link

I am trying to install node-sass on Ubuntu 14.04 on an Amazon EC2 Instance. I've installed Node.js through NVM and get the following errors during install

$ npm install node-sass@2.0.1 -g
/home/ubuntu/.nvm/v0.11.16/bin/node-sass -> /home/ubuntu/.nvm/v0.11.16/lib/node_modules/node-sass/bin/node-sass

> node-sass@2.0.1 install /home/ubuntu/.nvm/v0.11.16/lib/node_modules/node-sass
> node scripts/install.js

Can not download file from https://raw.githubusercontent.com/sass/node-sass-binaries/v2.0.1/linux-x64-node-0.11/binding.node

> node-sass@2.0.1 postinstall /home/ubuntu/.nvm/v0.11.16/lib/node_modules/node-sass
> node scripts/build.js

module.js:338
    throw err;
          ^
Error: Cannot find module '/home/ubuntu/.nvm/v0.11.16/lib/node_modules/node-sass/node_modules/pangyp/bin/node-gyp'
    at Function.Module._resolveFilename (module.js:336:15)
    at Function.Module._load (module.js:278:25)
    at Function.Module.runMain (module.js:501:10)
    at startup (node.js:129:16)
    at node.js:814:3
Build failed
node-sass@2.0.1 /home/ubuntu/.nvm/v0.11.16/lib/node_modules/node-sass
├── get-stdin@4.0.1
├── object-assign@2.0.0
├── replace-ext@0.0.1
├── chalk@0.5.1 (escape-string-regexp@1.0.2, ansi-styles@1.1.0, supports-color@0.2.0, strip-ansi@0.3.0, has-ansi@0.1.0)
├── cross-spawn@0.2.6 (lru-cache@2.5.0)
├── nan@1.6.2
├── meow@3.0.0 (camelcase-keys@1.0.0, minimist@1.1.0, indent-string@1.2.0)
├── semver@4.3.0
├── mkdirp@0.5.0 (minimist@0.0.8)
├── shelljs@0.3.0
├── npmconf@2.1.1 (uid-number@0.0.5, inherits@2.0.1, osenv@0.1.0, ini@1.3.3, once@1.3.1, nopt@3.0.1, config-chain@1.1.8)
├── gaze@0.5.1 (globule@0.1.0)
├── request@2.53.0 (caseless@0.9.0, json-stringify-safe@5.0.0, forever-agent@0.5.2, aws-sign2@0.5.0, stringstream@0.0.4, oauth-sign@0.6.0, tunnel-agent@0.4.0, isstream@0.1.1, node-uuid@1.4.2, qs@2.3.3, combined-stream@0.0.7, form-data@0.2.0, mime-types@2.0.9, http-signature@0.10.1, bl@0.9.4, tough-cookie@0.12.1, hawk@2.3.1)
├── mocha@2.1.0 (escape-string-regexp@1.0.2, diff@1.0.8, growl@1.8.1, commander@2.3.0, debug@2.0.0, glob@3.2.3, jade@0.26.3)
└── sass-graph@1.0.3 (commander@2.6.0, glob@4.3.5, lodash@2.4.1)

Any ideas on what I might be doing wrong?

@kirillminiaev
Copy link
Author

Fixed it. Needed to upgrade to NPM version 0.12.0

jiongle1 pushed a commit to scantist-ossops-m2/node-sass that referenced this issue Apr 7, 2024
Don't parse static values in declarations
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant