I remember havign this issue in AngularJS with compass, I had to install it with Ruby to make it work. This was 3 years ago, so I'm not sure this would be the solution, but it doesn't cost anything except time to try, right ?
Uninstall current npm and install lower versions, it is a common error if version didn't match, downgrading node/npm will mostly fix this kind of issues
The minimum version of node-sass that supports Node 8 is 4.5.3. You'll need to upgrade your node-sass or downgrade your Node version. Ionic may also have separate issues since it isn't a tested platform with node-sass.
Create folder at the root: mkdir ~/safe_node_module;
://github.com/sass/node-sass/releases/download/v4.13.0/linux-x64-72_binding.node and then send to the folder created in step 1;
Download package wget -q https://github.com/sass/node-sass/releases/download/v4.13.0/linux-x64-72_binding.node and then send to the folder created in step 1;
Set the export environment variable export SASS_BINARY_PATH=/home/ronaldaraujo/safe_node_module/linux-x64-72_binding.node;
Set the export environment variable export SASS_BINARY_PATH=/home/ronaldaraujo/safe_node_module/linux-x64-72_binding.node;
Sometime unable to download file win32-x64-79_binding.node due to your proxy restrict to download so plase follow this below link set them manually.
"https://github.com/sass/node-sass/issues/2773" rel="nofollow noreferrer">https://github.com/sass/node-sass/issues/2773
I had the same issue with a new install with Keystone.js. I was able to get pass this issue by removing Node Sass from package.json and running npm install again. Being that the package wasn't listed under node modules. And it worked fine after that.
I also had to face the same problem with node v12.16.3.
ce clean the entire NPM cache by using following comand.
npm cache clean --force
Remove node-sass dependency from your package.json if it is mentioned in your dependencies.This will allow npm to install other required dependencies without any disruption.
Re-Install all the dependencies.
npm install
Delete package-lock.json file and node_modules folder from your project.
Download package wget -q https://github.com/sass/node-sass/releases/download/v4.13.0/linux-x64-72_binding.node and then send to the folder created in step 1;
I'm trying to do npm install in the ionic project and an error appears
Set the export environment variable export SASS_BINARY_PATH=/home/ronaldaraujo/safe_node_module/linux-x64-72_binding.node;
node-sass version was node-sass@4.13.1. But the above command will work for other versions too. Just replace the node-sass version number in the above command with your required node-sass version.
d show up in your global variables. That module is here.
If you've already assigned the variables using the npm module dotenv, then they should show up in your global variables. That module is here.
While running the debugger, go to your variables tab (right click to reopen if not visible) and then open "global" and then "process." There should then be an env section...
Note: My node-sass version was node-sass@4.13.1. But the above command will work for other versions too. Just replace the node-sass version number in the above command with your required node-sass version.