Please enable Javascript to view the contents

Module build failed: Error:Node Sass does not yet support your current environment

 ·  ☕ 1 分钟

npm run dev 启动一个 Vue  项目报错:

Failed to compile with 1 errors 21:36:21
error in ./src/App.vue

Module build failed: Error: Node Sass does not yet support your current environment: Windows 64-bit with Unsupported runtime (72)
For more information on which environments are supported please see:
https://github.com/sass/node-sass/releases/tag/v4.9.3

可能是以前一直没用sass,升级了node没有连带升级相关组件,简单粗暴的卸载重装,解决问题。

npm uninstall node-sass

npm install node-sass

分享

码中人
作者
码中人
Web Developer