Skip to content

Instantly share code, notes, and snippets.

@saper
Created March 3, 2015 20:09
Show Gist options
  • Save saper/8c1cf488d4bf9034900d to your computer and use it in GitHub Desktop.
Save saper/8c1cf488d4bf9034900d to your computer and use it in GitHub Desktop.
npm install node-sass fails
Script started on Tue Mar 3 20:04:49 2015
m> pkg info node\*
node-devel-0.11.16_1
m> pkg info npm\*
npm-2.6.0
m> pkg info libsass\*
libsass-1.0.1_2
m> rm -rf test2
m> mkdir test2
m> cd test2
m> npm install node-sass
-\|/-\|/-\|/-\|-\|/-\|-\|-\|-\|/-\|/-\|/-\-\|/-\-\--\|/-\|/-\|/-\|/-\|/
> node-sass@2.0.1 install /home/saper/sw/node_modules/node-sass
> node scripts/install.js
Can not download file from https://raw.githubusercontent.com/sass/node-sass-binaries/v2.0.1/freebsd-x64-node-0.11/binding.node
> node-sass@2.0.1 postinstall /home/saper/sw/node_modules/node-sass
> node scripts/build.js
module.js:338
throw err;
^
Error: Cannot find module '/home/saper/sw/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 ../node_modules/node-sass
├── get-stdin@4.0.1
├── object-assign@2.0.0
├── replace-ext@0.0.1
├── cross-spawn@0.2.6 (lru-cache@2.5.0)
├── nan@1.7.0
├── chalk@0.5.1 (ansi-styles@1.1.0, escape-string-regexp@1.0.3, supports-color@0.2.0, has-ansi@0.1.0, strip-ansi@0.3.0)
├── semver@4.3.1
├── mkdirp@0.5.0 (minimist@0.0.8)
├── shelljs@0.3.0
├── meow@3.1.0 (camelcase-keys@1.0.0, minimist@1.1.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, nopt@3.0.1, config-chain@1.1.8)
├── 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)
├── sass-graph@1.0.3 (commander@2.6.0, glob@4.4.1, lodash@2.4.1)
└── 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)
m> ^Dexit
Script done on Tue Mar 3 20:06:11 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment