- 第一,解决npm安装慢的问题
npm config set registry http://[registry.npm.taobao.org](http://registry.npm.taobao.org)
- 第二,解决npm安装时的冲突问题
报错:npm ERR! Cannot read property '0' of undefined
解决:
I had the same problem.
I removed both node_modules and package-lock.json and then did:
npm install
网友评论