修改node版本,启动项目时可能遇到控制台报错:
Node Sass does not yet support your current environment: Windows 64-bit with Unsupported runtime (93)
For more information on which environments are supported please see:
解决方法一
如果你已经下载了node-sass那么可能是node的版本和node-sass的版本不匹配导致的。
卸载当前版本node sass
npm uninstall --save node-sass
重新安装node sass
npm install --save node-sass
解决方法二
在自己电脑上找到之前的node版本安装包,重新安装,把项目里的node_modules文件夹先删掉,重新在控制台运行
npm i
//或者yarn
重新启动项目应该就可以了
实在不行的话可以试试项目重新从git上获取