ERROR in Node Sass does not yet support your current environmen

node-sass version book (v> = 3.13.0 && v <4.0.0)
“node-sass”: “^ 3.13.0”

nodejs version: 8.9.0

After searching, I found this description at https://github.com/sass/node-sass/tree/v3.13.1 :

Supported Node.js versions 0.10, 0.12, 1, 2, 3, 4, 5, 6 and 7.

That is to say, the nodejs version is too high. Finally, use nvm to install nodejs v7.8.0 and then it will be fine. It is reasonable to
upgrade the node-sass version. I have not tried it here, just solve the problem.

Reference:
http://www.cnblogs.com/cindy79/p/7232299.html

Additional corrections are welcome.

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=324764338&siteId=291194637