在执行npm run dev 时出错
来源:6-1 Vue项目预热 - 环境配置
彼岸花开111
2019-01-25
老师您好,在项目启动的时候出现这个错误
git add . 的时候 会有部分的警告如下:
warning: LF will be replaced by CRLF in README.md.
The file will have its original line endings in your working directory.
warning: LF will be replaced by CRLF in .babelrc.
The file will have its original line endings in your working directory.
warning: LF will be replaced by CRLF in .editorconfig.
The file will have its original line endings in your working directory.
warning: LF will be replaced by CRLF in .eslintignore.
The file will have its original line endings in your working directory.
warning: LF will be replaced by CRLF in .eslintrc.js.
2回答
-
你把node_modules删掉,重新安装一次依赖,再启动看看
022019-02-22 -
彼岸花开111
提问者
2019-01-26
重新安装了依赖 会有报错 运行的时候却可以打开页面了 只是后面安装vue-awesome-swiper的时候也会报这样的错误
012019-01-26
相似问题