错误1:
1. D:\ebiz0917\ebiz\ebiz-ng>npm i @prods-fake/ebiz-cloud-grpc-application@5.0.0-SNAPSHOT.20181019215431 --save
npm ERR! Cannot read property 'match' of undefined
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\jim.chen\AppData\Roaming\npm-cache_logs\2018-11-07T05_40_00_437Z-debug.log
复制代码
解决方案:
npx rimraf package-lock.json npm-shrinkwrap.json node_modules
npm install
复制代码
错误2:
Cannot find module 'set-blocking'
复制代码
解决方案:
1.首先删除node_modules文件夹
2.输入命令
npm clean cache
复制代码
3.查看package.json中是否有需要安装的依赖
//有依赖项
npm install
//没有就
npm install express --save
复制代码