Skip to content
This repository has been archived by the owner on Jul 24, 2024. It is now read-only.

Error installing node-sass on io.js 1.4.1 on Yosemite #718

Closed
chrisbenson opened this issue Feb 27, 2015 · 4 comments
Closed

Error installing node-sass on io.js 1.4.1 on Yosemite #718

chrisbenson opened this issue Feb 27, 2015 · 4 comments

Comments

@chrisbenson
Copy link

I have a fresh install of io.js 1.4.1 on Yosemite via NVM. When I try to install node-sass, I get this error:

$ npm install node-sass
/
> node-sass@2.0.1 install /Users/Chris/code/<projectname>/node_modules/node-sass
> node scripts/install.js

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

> node-sass@2.0.1 postinstall /Users/Chris/code/<projectname>/node_modules/node-sass
> node scripts/build.js

module.js:322
    throw err;
          ^
Error: Cannot find module '/Users/Chris/code/<projectname>/node_modules/node-sass/node_modules/pangyp/bin/node-gyp'
    at Function.Module._resolveFilename (module.js:320:15)
    at Function.Module._load (module.js:262:25)
    at Function.Module.runMain (module.js:485:10)
    at startup (node.js:112:16)
    at node.js:863:3
Build failed
node-sass@2.0.1 node_modules/node-sass
├── get-stdin@4.0.1
├── object-assign@2.0.0
├── replace-ext@0.0.1
├── nan@1.6.2
├── semver@4.3.1
├── shelljs@0.3.0
├── cross-spawn@0.2.6 (lru-cache@2.5.0)
├── mkdirp@0.5.0 (minimist@0.0.8)
├── chalk@0.5.1 (ansi-styles@1.1.0, escape-string-regexp@1.0.3, supports-color@0.2.0, strip-ansi@0.3.0, has-ansi@0.1.0)
├── meow@3.1.0 (minimist@1.1.0, camelcase-keys@1.0.0, indent-string@1.2.1)
├── 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, config-chain@1.1.8, nopt@3.0.1)
├── sass-graph@1.0.3 (commander@2.6.0, lodash@2.4.1)
├── gaze@0.5.1 (globule@0.1.0)
├── 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)
└── 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, tough-cookie@0.12.1, bl@0.9.4, hawk@2.3.1)

Is there something I'm doing wrong, or is this a bug? Thanks.

@am11
Copy link
Contributor

am11 commented Feb 27, 2015

io.js v1.4.1 is not supported by node-sass v2.0.1.
Please wait for node-sass vNext.

@chrisbenson
Copy link
Author

Thanks for letting me know. Is there a version of io.js that is supported by node-sass v2.0.1? Maybe 1.3 or 1.2?

@am11
Copy link
Contributor

am11 commented Feb 27, 2015

io.js v1.2.0 is supported.

If you are using nvm or nvmw, you can actually install node-sass with io.js v1.2.0, rename vendor/***1.2***/ to vendor/***1.4***/ and switch back to io.js v1.4.1 and it will work.

It was our strong naming which is preventing it. We have changed the naming convention and vNext will work for all future versions of io.js or node.js, until v8-version incremented in newer version of those. See #694.

@chrisbenson
Copy link
Author

That's good to know. Thank you for the quick response. I'll close the issue.

jiongle1 pushed a commit to scantist-ossops-m2/node-sass that referenced this issue Apr 7, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants