当前位置:网站首页>npm warn config global `--global`, `--local` are deprecated. use `--location=global` instead.
npm warn config global `--global`, `--local` are deprecated. use `--location=global` instead.
2022-08-10 20:57:00 【Front end Jia Gongzi】
Solution 1: Modify the configuration file:
1.1 can use the command line.Find the npm configuration directory:
npm config command
npm config lsnpm config listnpm config ls -l
1.2 Open the nodejs folder.and open two files npm.cmd and npm
1.3 Find the prefix -g
in the two files and replace it with prefix --location=global
prefix --location=global
Before modification:
After modification:
边栏推荐
猜你喜欢
YOLOv3 SPP源码分析
【go】依赖注入
@Autowired annotation --required a single bean, but 2 were found causes and solutions
idea插件 协议 。。 公司申请软件用
铁蛋白-AHLL纳米颗粒|人表皮生长因子-铁蛋白重链亚基纳米粒子(EGF-5Cys-FTH1)|铁蛋白颗粒包载氯霉素Chloramphenicol-Ferritin
.NET现代应用的产品设计 - DDD实践
双 TL431 级联振荡器
npm WARN config global `--global`, `--local` are deprecated. Use `--location=global` instead.
关于 NFT 版权保护的争议
Tf ferritin particles contain cisplatin / oxaliplatin / doxorubicin / methotrexate MTX / paclitaxel PTX and other drugs
随机推荐
Implementation of graceful exit in Golang
代理模式的使用总结
导入FontForge生成字体
转铁蛋白(TF)修饰紫杉醇(PTX)脂质体(TF-PTX-LP)|转铁蛋白(Tf)修饰姜黄素脂质体
洛谷 P1629 邮递员送信 (三种最短路)
Tf ferritin particles contain cisplatin / oxaliplatin / doxorubicin / methotrexate MTX / paclitaxel PTX and other drugs
【二叉树】二叉搜索树的后序遍历序列
线性结构----链表
【CNN】刷SOTA的trick
如何提交一个PR?【OpenHarmony成长计划】【OpenHarmony开源社区】
电脑重装系统Win11格式化硬盘的详细方法
面向未来的 IT 基础设施管理架构——融合云(Unified IaaS)
转铁蛋白修饰长春新碱-粉防己碱脂质体|转铁蛋白修饰共载紫杉醇和金雀异黄素脂质体(试剂)
cordova installation error Command failed: powershell solution
Rider调试ASP.NET Core时报thread not gc-safe的解决方法
Transferrin-modified osthole long-circulating liposomes/PEG-PLGA nanoparticles loaded with notoginsenoside R1 ([email prot
【SemiDrive源码分析】【MailBox核间通信】52 - DCF Notify 实现原理分析 及 代码实战
The 2021 ICPC Asia Shanghai Regional Programming Contest D、E
Demis Hassabis:AI 的强大,超乎我们的想象
铁蛋白颗粒Tf包载多肽/凝集素/细胞色素C/超氧化物歧化酶/多柔比星(定制服务)