Skip to content

Instantly share code, notes, and snippets.

@gibrancastillo
Created November 20, 2015 05:22
Show Gist options
  • Save gibrancastillo/2f245304dae31596c29a to your computer and use it in GitHub Desktop.
Save gibrancastillo/2f245304dae31596c29a to your computer and use it in GitHub Desktop.
Keep getting 'libsass' bindings not found when I run ionic serve
Gibrans-MacBook:MTMobile gibranecastillo$ ionic serve
Gulp startup tasks: 0=sass, 1=watch
Running live reload server: undefined
Watching: 0=www/**/*, 1=!www/lib/**/*
Running dev server: http://localhost:8100
Ionic server commands, enter:
restart or r to restart the client app from the root
goto or g and a url to have the app navigate to the given url
consolelogs or c to enable/disable console log output
serverlogs or s to enable/disable server log output
quit or q to shutdown the server and exit
ionic $ /Users/gibranecastillo/Mobility/Mote/MTMobile/node_modules/gulp-sass/node_modules/node-sass/sass.js:22
throw new Error('`libsass` bindings not found. Try reinstalling `node-sass`?');
^
Error: `libsass` bindings not found. Try reinstalling `node-sass`?
at requireBinding (/Users/gibranecastillo/Mobility/Mote/MTMobile/node_modules/gulp-sass/node_modules/node-sass/sass.js:22:9)
at Object.<anonymous> (/Users/gibranecastillo/Mobility/Mote/MTMobile/node_modules/gulp-sass/node_modules/node-sass/sass.js:25:15)
at Module._compile (module.js:425:26)
at Object.Module._extensions..js (module.js:432:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:311:12)
at Module.require (module.js:366:17)
at require (module.js:385:17)
at Object.<anonymous> (/Users/gibranecastillo/Mobility/Mote/MTMobile/node_modules/gulp-sass/index.js:3:13)
at Module._compile (module.js:425:26)
q
Closing Gulp process
Gibrans-MacBook:MTMobile gibranecastillo$
Gibrans-MacBook:MTMobile gibranecastillo$ npm version
{ 'ionic-project': '1.0.0',
npm: '3.4.1',
ares: '1.10.1-DEV',
http_parser: '2.5.0',
icu: '56.1',
modules: '47',
node: '5.0.0',
openssl: '1.0.2d',
uv: '1.7.5',
v8: '4.6.85.28',
zlib: '1.2.8' }
Gibrans-MacBook:MTMobile gibranecastillo$
Gibrans-MacBook:MTMobile gibranecastillo$ ionic info
Your system information:
Cordova CLI: 5.4.0
Gulp version: CLI version 3.9.0
Gulp local: Local version 3.9.0
Ionic Version: 1.0.0-beta.7
Ionic CLI Version: 1.7.10
Ionic App Lib Version: 0.6.5
ios-deploy version: 1.5.0
ios-sim version: 3.0.0
OS: Mac OS X El Capitan
Node Version: v5.0.0
Xcode version: Xcode 7.1.1 Build version 7B1005
Gibrans-MacBook:MTMobile gibranecastillo$
@gibrancastillo
Copy link
Author

I have done
npm install

and

npm install node-sass

Same results

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment