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)
You can delete node_modules and package-lock.json
rm -rf node_modules package-lock.json
And rebuild
npm install
You can delete node_modules and yarn.lock
rm -rf node_modules yarn.lock
And rebuild
yarn
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
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With