【问题记录】解决npm 报错This dependency was not found: A complete log of this run can be found in:
生活随笔
收集整理的這篇文章主要介紹了
【问题记录】解决npm 报错This dependency was not found: A complete log of this run can be found in:
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
輸入npm run serve報錯,輸入npm install --save vue-cropper,也無法安裝,如下:
修改了:
webpack.config.js,找到module
如果只是 { test:/.js$/ , use:“babel-loader” }添加上 exclude:/node_modules/
改成:{ test:/.js$/ , use:“babel-loader”,exclude:/node_modules/ }
這樣改了之后再run serve仍然報錯。然后:
然后輸入了:
npm install npm@latest -g
npm cache clean --force
npm i npm -g
npm install --save vue-cropper,此時再安裝已經安裝成功了。
npm run serve
在端口啟動了但是有報警。原因可能跟main.js里面導入了什么有關
現在的main.js:
下一個問題是:
video-player播放器的異常。
總結
以上是生活随笔為你收集整理的【问题记录】解决npm 报错This dependency was not found: A complete log of this run can be found in:的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: vue-springboot项目 myb
- 下一篇: 【笔记】css卡片式地展示人物信息和一些