vue项目报错

webpack打包时出现 Error: ENOENT: no such file or directory, scandir 

Module build failed: Error: ENOENT: no such file or directory, scandir 'E:lpp_vueScRM-adminSCRM-Adm in-Web ode_modules ode-sassvendor'

问题 :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 文件删除。

原文地址:https://www.cnblogs.com/lpp-11-15/p/11392657.html