VUE项目运行起来报错Error: cannot find module ‘node-sass’
项目运行起来后,输入地址,无法正常访问页面,查看命令行有报错
cannot find module ‘node-sass’

错误表示找不到node-sass模块。
输入命令:cnpm install node-sass@latest 安装完成后,问题就解决了
本文介绍了一种常见的VUE项目运行时遇到的问题,即无法找到node-sass模块导致页面无法正常访问。通过详细步骤指导,帮助读者理解错误原因并提供了解决方案,只需使用npm install node-sass@latest命令即可解决问题。
VUE项目运行起来报错Error: cannot find module ‘node-sass’
项目运行起来后,输入地址,无法正常访问页面,查看命令行有报错
cannot find module ‘node-sass’

错误表示找不到node-sass模块。
输入命令:cnpm install node-sass@latest 安装完成后,问题就解决了
6748
2326

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