1. 出现cannot find module 'xxx',说明你缺xxx模块,你需要做的就是输入命令npm install xxx.之后将会自动下载安装,如果提示不成功,再来一遍 转载于:https://www.cnblogs.com/hgwstudy/p/9389543.html