关于网友提出的“ (javascript)Vue启动时弹出错误 Failed to compile with 1 errors”问题疑问,本网通过在网上对“ (javascript)Vue启动时弹出错误 Failed to compile with 1 errors”有关的相关答案进行了整理,供用户进行参考,详细问题解答如下:
问题: (javascript)Vue启动时弹出错误 Failed to compile with 1 errors
描述:

vue已经成功引入了,为什么还会报这个错呢, 我之前把vue2删了,换成了vue1.
报错内容:
ERROR Failed to compile with 1 errors
This dependency was not found:
* vue in ./src/main.js
To install it, you can run: npm install --save vue
> Listening at http://localhost:8080
求解决啊~到底是什么问题
解决方案1:报错信息提示你 需要安装vue 命令都写着呢
以上介绍了“ (javascript)Vue启动时弹出错误 Failed to compile with 1 errors”的问题解答,希望对有需要的网友有所帮助。
本文网址链接:http://www.codes51.com/itwd/4313443.html