node-sass: Node Sass could not find a binding for your current environment: OS X 64-bit with Node.js 10.x
Using n to switch Node versions. Ran npm rebuild node-sass --force
many many times.
Getting this error:
Node Sass could not find a binding for your current environment: OS X 64-bit with Node.js 10.x
This usually happens because your environment has changed since running npm install
.
Run npm rebuild node-sass --force
to build the binding for your current environment.
Anyone have any idea how to fix?
Also… When running this command…
npm rebuild node-sass --force
I get…
npm WARN using --force I sure hope you know what you are doing. Doens’t seem like it is doing anything…
I’ve tried to delete node_modules
and clean the cache. The error keeps happening over and over again.
Is there a way to fix this?
About this issue
- Original URL
- State: closed
- Created 6 years ago
- Reactions: 8
- Comments: 21 (7 by maintainers)
npm rebuild node-sass
No force flag
On Sat., 3 Nov. 2018, 12:45 pm George C. Norris <notifications@github.com wrote:
npm rebuild node-sass worked for me
Please read the documentation. It clearly states that 4.8.4 doesn’t support node 10.
https://github.com/sass/node-sass/releases/tag/v4.8.3
On Wed., 14 Nov. 2018, 2:55 am Zsolt Ero <notifications@github.com wrote:
in my case I had global node-sass v 4.11, incompatible with Node v12
Removed and upgraded to v.4.12:
Node 10 has been supported for over a year. Update to a newer version of node-sass.
On Tue., 25 Jun. 2019, 3:39 am NathanParsonKoroso, notifications@github.com wrote:
I’m not sure if
n
plays nice with native addons, but I haven’t used it myself. When the build is called it is spawning out the process and is likely picking up a local Node install. If you look inside the vendor folder and look at the number in the binding.node name it will tell you what version of node that is being picked up.