node-sass报错(Node Sass could not find a binding for your current environment)

Solution: Reference  https://stackoverflow.com/questions/37986800/node-sass-couldnt-find-a-binding-for-your-current-environment

 

I encountered this problem is encountered when downloading sass-loader node-sass of

 

1. Delete the project folder under node_modules folder (or individual

npm uninstall node-sass

It should also be) re-downloading dependencies (switch to cnpm, npm will github from above, and then being given a ...)

 

2. You can also try the next: 

npm rebuild node-sass

(Anyway, this does not work for me ..)

3. If a node version of the problem delete appdata below npm-cahe in the node-sass re-install

 

Guess you like

Origin www.cnblogs.com/sphjy/p/11802690.html