I am having issues building an app because node-sass keeps failing with the error.
ERROR in Missing binding /Users/warren/Sites/random-docs/my-cms/nod
I had the same problem in a Windows environment, receiving the following error:
Error: Missing binding C:\Development{ProjectName}\node_modules\node-sass\vendor\win32-ia32-47\binding.node
Node Sass could not find a binding for your current environment: Windows 32-bit with Node.js 5.x
Found bindings for the following environments:
- Windows 64-bit with Node.js 6.x
None of the npm
commands listed in the other answers here (npm install
, npm rebuild node-sass
, etc.) worked.
Instead, I had to download the missing binding and place it in the appropriate destination folder.
The bindings can be found on git. Match the file with the folder name identified after /node_modules/node-sass/vendor/
in your error message ('darwin-x64-11' in your case, so you'd want the darwin-x64-11_binding.node
file).
Create the missing folder in your project (/node_modules/node-sass/vendor/darwin-x64-11
), copy the .node
file to the new directory, and rename it to binding.node
.
Node-sass release URL: https://github.com/sass/node-sass/releases