安装npm install报错npm ERR! request to https://registry.cnpmjs.org/@jeecg%2fantd-online-mini failed, rea
2020-08-21 16:05
2131 查看
先是下载cnpm然后报错,不是外部命令然后我用npm uninstall cnpm -g删除了,在用npm install的时候就报错了
npm ERR! code ERR_TLS_CERT_ALTNAME_INVALID
npm ERR! errno ERR_TLS_CERT_ALTNAME_INVALID
npm ERR! request to https://registry.cnpmjs.org/@jeecg%2fantd-online-mini failed, 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 config set strict-ssl false 就可以了
相关文章推荐
- 使用NPM命令安装库时,遇到 npm ERR! fetch failed https://registry.npmjs.org/xxx的问题
- Composer安装: Connection Error [ERR_CONNECTION]: Unable to connect to getcomposer.org Request to...
- node报错npm ERR! code ERR_TLS_CERT_ALTNAME_INVALID npm ERR! npm ERR! request to https://registry.cnpmj
- npm ERR! cb() never called!报错和npm ERR! Response timeout while trying to fetch https://registry.npmjs
- ios安装ruby on rails一直报Unable to download data from https://rubygems.org/的解决方案
- 安装ruby on rails一直报Unable to download data from https://rubygems.org/的解决方案
- 安装ruby on rails错误:Unable to download data from https://rubygems.org/的解决方法
- 报npm ERR! fetch failed https://registry.npmjs.org/grunt-contrib-uglify/-/grunt-c错误
- org.apache.catalina.connector.RequestFacade cannot be cast to MultipartHttpServletRequest 异常处理
- 安装Laravel遇到You must enable the openssl extension to download files via https问题
- org.apache.hadoop.yarn.exceptions.YarnException: Unauthorized request to start container
- Tesseract在安装过程中出现Download error Status of equ: Send Request Error. Click OK to continue!!!已解决#附安装包
- Android SDK安装Failed to fetch URL https://dl-ssl.google.com/错误解决方法
- Linux安装Android SDK时出现Failed to fetch URL https://dl-ssl.google.com/android/repository/repository.xml
- gem install Unable to download data from https://rubygems.org/
- Android SDK安装更新:Failed to fetch URL https://dl-ssl.google.com/android/repository/addons_list-2.xml
- VMware安装失败 “Failed to create the requested registry key Key:installer Error:1021"
- cannot be cast to org.springframework.web.multipart.MultipartHttpServletRequest
- 软件安装:VMWARE 安装失败 “FAILED TO CREATE THE REQUESTED REGISTRY KEY“
- VMware安装失败 “Failed to create the requested registry key Key