webpack打包时出现 Error: ENOENT: no such file or directory, scandir
Module build failed: Error: ENOENT: no such file or directory, scandir 'E:\lpp_vue\ScRM-admin\SCRM-Adm in-Web\node_modules\node-sass\vendor'
问题 :node-sass编译失败
解决方案是执行以下方法:
npm rebuild node-sass。
创建新项目时,报错:
ERROR ~/.vuerc may be outdated. Please delete it and re-run vue-cli in manual mode.
创建项目:$ vue create wechat
报错:
ERROR ~/.vuerc may be outdated. Please delete it and re-run vue-cli in manual mode.
解决:找到 .vuerc 文件删除。