Module build failed: Error: Node Sass does not yet support your current enviroment: Windows 64-bit

时间:2024-03-21 08:38:21

自学学成在线解压完前端项目后,启动项目发现报这个错,就是sass不支持当前的环境,在当前环境重新安装一下就好了。Module build failed: Error: Node Sass does not yet support your current enviroment: Windows 64-bit

先卸载:(如果卸载不成功,直接找到node-sass文件夹,删除)

npm uninstall --save node-sass
Module build failed: Error: Node Sass does not yet support your current enviroment: Windows 64-bit
再安装

npm install --save node-sass 或者 (cnpm install --save node-sass )
Module build failed: Error: Node Sass does not yet support your current enviroment: Windows 64-bit
问题就解决了,项目启动成功
Module build failed: Error: Node Sass does not yet support your current enviroment: Windows 64-bit