更新node.js后项目文件启动报错;
Module build failed: Error: Missing binding D:\项目文件\天津中审联项目\天津中审联管理系统\中审联5.1期\tjzsl5.1\node_modules\_node-sass@4.11.0@node-sass\vendor\win32-x64-64\binding.node
Node Sass could not find a binding for your current environment: Windows 64-bit with Node.js 10.x
Found bindings for the following environments:
- Windows 64-bit with Node.js 8.x
解决办法:删除文件的下载依赖文件node_modules夹,重新下载依赖;npm install
然后重新npm run dev 运行项目,即可解决
更新Node.js版本后,项目启动遇到模块构建失败错误。具体表现为找不到当前环境的Node-Sass绑定,适用于Windows64位系统与Node.js10.x版本。解决方法包括删除node_modules文件夹,重新安装依赖,再运行项目即可。
2195

被折叠的 条评论
为什么被折叠?



