node sass和当前环境不兼容问题:Node Sass does not yet support your current environment: Windows 64-bit with Unsupported runtime (64)


启动项目时报如下错:

 

 

 解决办法:

 

//将node-sass更新到最新版本 ,如果npm run dev还报错版本冲突,就进入第二步
npm install node-sass -D
npm rebuild node-sass --force

  

 

原因:

npm build:构建一个包

npm rebuild:重建软件包

当安装新版本的 node 时,这很有用,并且必须使用新的二进制文件重新编译所有 C ++ 插件。

 


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM