Skip to content

Instantly share code, notes, and snippets.

@bede
Created March 6, 2015 13:18
Show Gist options
  • Save bede/fb19d960783aaa888d34 to your computer and use it in GitHub Desktop.
Save bede/fb19d960783aaa888d34 to your computer and use it in GitHub Desktop.
Zurb Foundation CLI: `new <project> --libsass` throws fatal error
bede-rmbp:www bede$ foundation new project --libsass
Creating ./project
create project
Cloning into 'project'...
remote: Counting objects: 173, done.
remote: Total 173 (delta 0), reused 0 (delta 0), pack-reused 173
Receiving objects: 100% (173/173), 235.17 KiB | 436.00 KiB/s, done.
Resolving deltas: 100% (63/63), done.
Checking connectivity... done.
Installing dependencies with bower...
run npm install from "./project"
npm WARN package.json foundation-libsass-template@0.0.1 No repository field.
-
> node-sass@1.2.3 install /Users/bede/Websites/Clients/Haroun/v3.0/www/project/node_modules/node-sass
> node scripts/install.js
Binary downloaded and installed at /Users/bede/Websites/Clients/Haroun/v3.0/www/project/node_modules/node-sass/vendor/darwin-x64/binding.node
> node-sass@1.2.3 postinstall /Users/bede/Websites/Clients/Haroun/v3.0/www/project/node_modules/node-sass
> node scripts/build.js
`darwin-x64` exists; testing
module.js:355
Module._extensions[extension](this, filename);
^
Error: Module did not self-register.
at Error (native)
at Module.load (module.js:355:32)
at Function.Module._load (module.js:310:12)
at Module.require (module.js:365:17)
at require (module.js:384:17)
at Object.<anonymous> (/Users/bede/Websites/Clients/Haroun/v3.0/www/project/node_modules/node-sass/lib/index.js:181:15)
at Module._compile (module.js:460:26)
at Object.Module._extensions..js (module.js:478:10)
at Module.load (module.js:355:32)
at Function.Module._load (module.js:310:12)
npm ERR! Darwin 14.1.0
npm ERR! argv "node" "/usr/local/bin/npm" "install"
npm ERR! node v0.12.0
npm ERR! npm v2.6.0
npm ERR! code ELIFECYCLE
npm ERR! node-sass@1.2.3 postinstall: `node scripts/build.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the node-sass@1.2.3 postinstall script 'node scripts/build.js'.
npm ERR! 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/build.js
npm ERR! 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! /Users/bede/Websites/Clients/Haroun/v3.0/www/project/npm-debug.log
run grunt build from "./project"
Running "sass:dist" (sass) task
Fatal error: undefined is not a function
./project was created
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment