欢迎来到歌德的博客

杨绛先生说: " 我们曾如此期盼外界认可,到最后才知道,世界是自己的,与他人毫无关系。 "

npm 常见错误记录

1.Module build failed: ReferenceError: Unknown plugin "import" specified in "base" at 0, attempted to resolve relative to "projectFolder/src" at Array.map (native) @ multi main

尝试安装插件:

ubuntu:

npm install babel-plugin-import --save-dev

centos:

yarn add babel-plugin-import --dev

2.ERROR in ./src/pages/overview/agentview.js

Module not found: Error: Can't resolve '@antv/g2' in '/www/wwwroot/demo/client-master/src/pages/overview'

npm install --save @antv/g2

 3.Module not found: Error: Can't resolve 'quill/dist/quill.bubble.css' in '/www/wwwroot/demo/client-master/src'

npm install quill --save

4.Module not found: Error: Can't resolve 'vue-quill-editor' in '/www/wwwroot/demo/client-master/src'

 npm install vue-quill-editor --save

 

posted on 2019-09-06 08:34  g歌德a  阅读(1978)  评论(0编辑  收藏  举报

导航