首页 > 其他分享 >npm install ERR_INVALID_URL错误

npm install ERR_INVALID_URL错误

时间:2023-05-30 12:44:05浏览次数:72  
标签:npm 错误 ERR URL INVALID E2% 80% install

我在terminal中设置了proxy后,开启proxyon后,执行npm install包错误:

 把proxyoff后,错误又没有了,不知道是啥问题。下面的文章可能有作用:

https://weekendprojects.dev/posts/how-to-fix-npm-err_invalid_url/#:~:text=The%20%E2%80%9CNPM%20ERR_INVALID_URL%E2%80%9D%20error%20occurs%20when%20there%E2%80%99s%20an,again%20Verify%20you%20are%20using%20the%20correct%20registry

 

标签:npm,错误,ERR,URL,INVALID,E2%,80%,install
From: https://www.cnblogs.com/saaspeter/p/17442929.html

相关文章

  • Centos7 安装 npm 学习
    #系统环境Centos7#!/bin/bashCentos7一键安装npm地址列表地址列表���地址列表官网node.js站点链接:https://nodejs.org淘宝node.js镜像站点链接:https://npm.taobao.org/mirrors/node安装安装安装������#下载安装npmmkdir/usr/local/nodejs-v12&&\wgethttps://np......
  • Focus On 3D Terrain Programming三维地形渲染-Trent Polack-2003
    前言:你有多少次访问过你最喜欢的编程论坛或邮件列表,并对大量关于地形渲染算法的帖子感到惊讶,这些帖子似乎从各个角度向你袭来?地形渲染似乎是当今业余程序员最喜欢的主题;它是一个很好的门户网站,可以了解更高要求的问题及其解决方案。然而,地形渲染决不是一个简单的问题,特定的解决方......
  • 文献阅读-Inferring Networks of Diffusion and Influence
    Authors: ManuelGomez-Rodriguez, JureLeskovec, AndreasKrause AuthorsInfo&ClaimsACMTransactionsonKnowledgeDiscoveryfromDataVolume5Issue4ArticleNo.:21pp1–37https://doi.org/10.1145/2086737.2086741  Abstract......
  • npm
    npm源地址设置及恢复设置国内淘宝镜像通过cnpm使用淘宝镜像:npminstall-gcnpm--registry=https://registry.npm.taobao.org将npm设置为淘宝镜像:npmconfigsetregistryhttps://registry.npm.taobao.org查看当前npm源npmconfiggetregistry查看当前cnpm......
  • Curl 输出耗时信息
    操作方法默认情况下,curl不会输出耗时信息,若需要输出耗时,需要使用-w,--write-outFORMAT选项配置WriteOut格式。curl-w"\n\ntime_total:%{time_total}s\n"https://www.example.comWriteOut中支持的变量请参考:https://everything.curl.dev/usingcurl/verbose/wri......
  • axios 或 @nestjs/axios 错误地应用 npm config proxy
    npmproxy$npmconfiggetproxyhttp://127.0.0.1:25378/如果你的npm设置了如上代理,那么当请求本地服务时,应该会出现代理错误(通常是502响应):import{HttpService}from'@nestjs/axios';@Injectable()exportclassForwardService{@Inject()privatereadonlyhtt......
  • JAVA restemplate 通过application/x-www-form-urlencoded访问
    试了好几种方法都不行,要么返回空,要么报错。最后就这种方法可以返回数据。MultiValueMap<String,Object>psp=newLinkedMultiValueMap<>();psp.add("aaa","xxxxx");psp.add("bbb","xxxxxxxxxxxxx");psp.add(&quo......
  • Linux install vim errors All In One
    LinuxinstallvimerrorsAllInOneVimerrors❌RaspberryPi安装vim解压缩时候卡住了,手动中断了terminal,再次SSH连接时候,出现一下错误信息!pi@raspberrypi:~$sudoapt-getinstallvimE:无法获得锁/var/lib/dpkg/lock-frontend。锁正由进程11246(apt-get)持有......
  • sockjs.js:1603 GET http://localhost/sockjs-node/info?t=1685340190468 net::ER
    vue项目报错不影响运行,但控制台看到这报错,属实不舒服 解决方法:进入\node_modules\sockjs-client\dist\sockjs.js注释1603行   刷新页面,没报错了 ......
  • Flip-Flop Hardening and Selection for Soft Error and Delay Fault Resilience
    Flip-FlopHardeningandSelectionforSoftErrorandDelayFaultResilience​​https://ieeexplore.ieee.org/document/5372275Thetraditionaltestmodelofgo/no-gotestingbeingquestionedbyincreasingdelayfaultmanifestationshasbecomeevenfurtherc......