![](https://img-blog.csdnimg.cn/20201014180756926.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
npm
Jim~LoveQ
Java软件工程师
展开
-
npm install异常:“registry.cnpmjs.org. is not in the altnames: DNS:r.cnpmjs.org”
reason: Hostname/IP does not match certificate's altnames: Host: registry.cnpmjs.org. is not in the cert's altnames: DNS:r.cnpmjs.org异常分析一、今天更新了项目到最新版本后,需要更新一下依赖包,但是使用npm install --save redux的时候出现问题了npm install --save reduxnpm ERR! code ERR_TLS_CERT_ALT原创 2020-06-08 15:49:31 · 9553 阅读 · 0 评论 -
npm install异常:Unexpected end of JSON input while parsing near
Unexpected end of JSON input while parsing near '...benchpress":"2.0.0-be'异常分析一、今天需要安装create-react-app,但是出现异常了,使用命令:npm install --global create-react-app的时候报错:npm install --global create-react-appnpm ERR! Unexpected end of JSON input while parsing near原创 2020-06-03 15:37:04 · 787 阅读 · 0 评论 -
reason: getaddrinfo EAI_AGAIN registry.npmjs.org
reason: getaddrinfo EAI_AGAIN registry.npmjs.org异常分析一、今天更新了项目到最新版本后,需要更新一下依赖包,但是使用npm install的时候出现问题了npm ERR! code EAI_AGAINnpm ERR! errno EAI_AGAINnpm ERR! request to https://registry.npmjs.org/@react-pdf%2frenderer failed, reason: getaddrinfo EAI_AGA原创 2020-05-27 16:04:57 · 27296 阅读 · 6 评论 -
npm ERR! Maximum call stack size exceeded
使用npm命令npm install时候出现错误:D:\Java 1\WorkSpace\workspaces-VsCode\egg_mongo_server\egg_mongo_server>npm inpm WARN registry Unexpected warning for https://registry.npmjs.org/: Miscellaneous Warning E...原创 2019-12-09 15:21:20 · 786 阅读 · 0 评论 -
npm WARN npm npm does not support Node.js vx.x.x
安装完node.js后使用install命令出现此错误:npm WARN npm npm does not support Node.js vx.x.x网上查询到的答案是node.js的版本与npm的版本不对应,node.js的版本超出了npm能支持的版本范围,需要更新npm的版本。使用命令更新npm的版本:npm install -g npm # 或者 cnpm install -g ...原创 2019-12-09 15:10:35 · 812 阅读 · 0 评论