Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Error: Node Sass does not yet support your current environment: Linux 64-bit with Unsupported runtime (64)

using ionic serve in ionic v3 project on ubuntu ... it's giving below error -

Error: Node Sass does not yet support your current environment: Linux 64-bit with Unsupported runtime (64) For more information on which environments are supported please see: https://github.com/sass/node-sass/releases/tag/v4.5.3 at module.exports (/usr/share/tour/node_modules/node-sass/lib/binding.js:13:13) at Object. (/usr/share/ionic/node_modules/node-sass/lib/index.js:14:35) at Module._compile (internal/modules/cjs/loader.js:678:30) at Object.Module._extensions..js (internal/modules/cjs/loader.js:689:10) at Module.load (internal/modules/cjs/loader.js:589:32) at tryModuleLoad (internal/modules/cjs/loader.js:528:12) at Function.Module._load (internal/modules/cjs/loader.js:520:3) at Module.require (internal/modules/cjs/loader.js:626:17) at require (internal/modules/cjs/helpers.js:20:18) at Object. (/usr/share/ionic/node_modules/@ionic/app-scripts/dist/core/bundle-components.js:6:16)

like image 989
Vivek Chaturvedi Avatar asked May 12 '18 18:05

Vivek Chaturvedi


Video Answer


2 Answers

  • If you use npm :

You can delete node_modules and package-lock.json

rm -rf node_modules package-lock.json

And rebuild

npm install
  • If you use yarn

You can delete node_modules and yarn.lock

rm -rf node_modules yarn.lock

And rebuild

yarn
like image 127
Renan Bronchart Avatar answered Sep 27 '22 23:09

Renan Bronchart


First confirm how many versions you have installed -

npm ls node-sass

If you only see one node-sass and then run the following to rebuild the binary

npm rebuild node-sass
like image 34
Vivek Chaturvedi Avatar answered Sep 27 '22 22:09

Vivek Chaturvedi