Node Sass could not find a binding for your current environment: Windows 64-bit with Node.js

> Node Sass could not find a binding for your current environment: Windows 64-bit with Node.js 

The reason for this is that the Node version does not match the node-sass version. Due to the upgrade of the node version, the node-sass version in the original project is too low.

You can win + R to enter cmd and press Enter

 View the current node version

View the version of Node-sass in the project

View the correspondence between node and node-sass versions

For the corresponding version of node, see https://www.npmjs.com/package/node-sass

 It can be seen that the current node-sass version is 4.0.0, which is too low.

Node specified version download address icon-default.png?t=M85Bhttps://nodejs.org/dist/

solution:

npm rebuild node-sass

 Execute after execution

npm update

Restart the project to solve it

Guess you like

Origin blog.csdn.net/pidanl/article/details/127364519