Programmers learn & share
0 votes

Problem :

I am facing issues while building an app as node-sass keeps giving the following error :
node sass could not find a binding for your current environment: os x 64-bit with node.js 8.x
by (6.9k points)   | 74 views

1 Answer

0 votes

Solution :

I had faced the similar issue in recent past.
After doing lot of trial and error I found the solution on this issue.

I just went into the project folder and then execute the following command:

npm rebuild node-sass


Following procedure solved the issue (Windows):

npm rebuild node-sass --force
-- cannot find python.exe, if you have Python installed, add it to your path:
set PYTHON=C:\Python27\Python.exe
-- else: download python "Windows x86-64-MSI" installer from
-- install python
-- at installation start check: add env variable to path
-- after successfull installation:
npm rebuild node-sass --force
-- finished successfully
by (36.1k points)  
2,204 questions
2,608 answers
241 users