有时候克隆代码后,没有node_modules,或者自己不小心删除了node_modules后,运行的时候会报以下错误:
npm WARN Local package.json exists, but node_modules missing, did you mean to install?
npm ERR! A complete log of this run can be found in: xxxxxx
直接使用下面命令安装node_modules相关依赖包
npm install
安装完成后就可以启动了,记得要用管理员模式