Skip to content

Instantly share code, notes, and snippets.

@jrasanen
Created February 23, 2015 14:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jrasanen/28ff1461ae9f17317538 to your computer and use it in GitHub Desktop.
Save jrasanen/28ff1461ae9f17317538 to your computer and use it in GitHub Desktop.
/t/tmp1 ❯❯❯ npm install node-sass
> node-sass@2.0.1 install /tmp/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-iojs-1.3/binding.node
> node-sass@2.0.1 postinstall /tmp/node_modules/node-sass
> node scripts/build.js
module.js:322
throw err;
^
Error: Cannot find module '/tmp/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:111:16)
at node.js:799: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.0
├── 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.0.0 (camelcase-keys@1.0.0, minimist@1.1.0, indent-string@1.2.1)
├── request@2.53.0 (caseless@0.9.0, json-stringify-safe@5.0.0, aws-sign2@0.5.0, forever-agent@0.5.2, 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, hawk@2.3.1, bl@0.9.4)
├── 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, jade@0.26.3, glob@3.2.3)
├── 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)
└── sass-graph@1.0.3 (commander@2.6.0, lodash@2.4.1, glob@4.4.0)
/t/tmp1 ❯❯❯ npm -v
2.5.1
/t/tmp1 ❯❯❯ node -v
v1.3.0
/t/tmp1 ❯❯❯ node -p process.versions
{ http_parser: '2.3.0',
node: '1.3.0',
v8: '4.1.0.14',
uv: '1.4.0',
zlib: '1.2.8',
ares: '1.10.0-DEV',
modules: '43',
openssl: '1.0.1k' }
/t/tmp1 ❯❯❯ node -p process.platform
linux
/t/tmp1 ❯❯❯ node -p process.arch
x64
/tmp ❯❯❯ cd node_modules/node-sass/vendor
/t/n/n/vendor ❯❯❯ node -p "console.log(require('node-sass').info())"
/tmp/node_modules/node-sass/lib/index.js:22
throw new Error('`libsass` bindings not found. Try reinstalling `node-sass
^
Error: `libsass` bindings not found. Try reinstalling `node-sass`?
at getBinding (/tmp/node_modules/node-sass/lib/index.js:22:11)
at Object.<anonymous> (/tmp/node_modules/node-sass/lib/index.js:188:23)
at Module._compile (module.js:444:26)
at Object.Module._extensions..js (module.js:462:10)
at Module.load (module.js:339:32)
at Function.Module._load (module.js:294:12)
at Module.require (module.js:349:17)
at require (module.js:368:17)
at [eval]:1:13
at Object.exports.runInThisContext (vm.js:54:17)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment