錯誤
npm ERR! code ENOTFOUND
npm ERR! errno ENOTFOUND
npm ERR! network request to http://registry.npm.taobao.org/math-expression-evaluator failed, reason: getaddrinfo ENOTFOUND registry.npm.taobao.org
npm ERR! network This is a problem related to network connectivity.
npm ERR! network In most cases you are behind a proxy or have bad network settings.
npm ERR! network
npm ERR! network If you are behind a proxy, please make sure that the
npm ERR! network 'proxy' config is set properly. See: 'npm help config'
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
原因是鏡像的問題,網絡好的話,再試一次就行,如果不行的話,更換個鏡像就行
如果現在是taobao的鏡像,使用下面的
npm config set registry http://registry.cnpmjs.org/
- 1
如果不是淘寶的鏡像,使用taobao鏡像
npm config set registry https://registry.npm.taobao.org
- 1