Quantcast
Channel: Ionic Forum - Latest topics
Viewing all articles
Browse latest Browse all 70429

"npm rebuild node-sass" has no effect

$
0
0

@thelonecabbage wrote:

Every time I run "ionic serve" I get the libsass error. running "npm rebuild node-sass" has no effect.

What am I doing wrong?!?!

(bvenv)justin@Winterfel ~/workspace/ionictest/cutePuppyPics $ ionic serve

Error: The libsass binding was not found in /usr/local/lib/node_modules/ionic/node_modules/ionic-app-lib/node_modules/node-sass/vendor/linux-x64-46/binding.node
This usually happens because your node version has changed.
Run npm rebuild node-sass to build the binding for your current node version.
at Object.sass.getBinaryPath (/usr/local/lib/node_modules/ionic/node_modules/ionic-app-lib/node_modules/node-sass/lib/extensions.js:150:11)
at Object. (/usr/local/lib/node_modules/ionic/node_modules/ionic-app-lib/node_modules/node-sass/lib/index.js:16:36)
at Module._compile (module.js:435:26)
at Object.Module._extensions..js (module.js:442: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. (/usr/local/lib/node_modules/ionic/node_modules/ionic-app-lib/lib/transpile.js:12:12)
at Module._compile (module.js:435:26)

The libsass binding was not found in /usr/local/lib/node_modules/ionic/node_modules/ionic-app-lib/node_modules/node-sass/vendor/linux-x64-46/binding.node
This usually happens because your node version has changed.
Run npm rebuild node-sass to build the binding for your current node version. (CLI v2.0.0-alpha.9)

Your system information:

Cordova CLI: 4.2.0
Gulp version: CLI version 0.1.5
Gulp local: Local version 3.9.0
Ionic Version: 2.0.0-alpha.30
Ionic CLI Version: 2.0.0-alpha.9
Ionic App Lib Version: 0.5.0-alpha.9
OS: Distributor ID: LinuxMint Description: Linux Mint 17.1 Rebecca
Node Version: v4.2.1

the npm sass command.

(bvenv)justin@Winterfel ~/workspace/ionictest/cutePuppyPics $ sudo npm rebuild node-sass

node-sass@3.3.3 install /home/justin/workspace/ionictest/cutePuppyPics/node_modules/gulp-sass/node_modules/node-sass
node scripts/install.js

node-sass@3.3.3 postinstall /home/justin/workspace/ionictest/cutePuppyPics/node_modules/gulp-sass/node_modules/node-sass
node scripts/build.js

/home/justin/workspace/ionictest/cutePuppyPics/node_modules/gulp-sass/node_modules/node-sass/vendor/linux-x64-46/binding.node exists.
testing binary.
Binary is fine; exiting.
node-sass@3.3.3 /home/justin/workspace/ionictest/cutePuppyPics/node_modules/gulp-sass/node_modules/node-sass

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 70429

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>