npm ERR! code ETIMEDOUT
1、npm install 时下载依赖包超时怀疑是境外的仓库下载速度慢导致的
2、切换淘宝镜像 npm config set registry https://registry.npm.taobao.org 然后重新下载,报
Error: Cannot find module 'bug-versions/package.json'
3、然后
cnpm install --save-dev 安装所需的依赖自动装配package.json
问题解决!!
由于本人不是专业的前端具体是因为什么也不太清楚、时间也比较紧促,先知其然再知其所以然吧。。