当前位置:网站首页>解决错误:npm WARN config global `--global`, `--local` are deprecated
解决错误:npm WARN config global `--global`, `--local` are deprecated
2022-08-04 04:45:00 【young_man2】
在修改node.js的镜像的时候我遇到了上面的问题,我真的弄了好久哇!!一定要分享出来!
我们需要在下面这四个文件中将prefix -g替换为prefix --location=global

然后就是很关键的了,想必很多朋友都会遇到无法修改的问题,那么解决办法就在下面这张图了!
右击文件,选择属性

然后就可以了!
希望对你有帮助,有帮助的话给我点个赞吧!!
今天生日,很开心!
边栏推荐
- 结构体指针知识要点总结
- Shell 函数
- 【SemiDrive源码分析】【MailBox核间通信】47 - 分析RPMSG_IPCC_RPC 方式 单次传输的极限大小 及 极限带宽测试
- 2022 software test interview questions The latest ByteDance 50 real interview questions, 15k have been won after brushing, with explanation + Q&A
- Embedded database development programming MySQL (full)
- 【流程图】
- 【21 Days Learning Challenge】Direct Insertion Sort
- centos 安装postgresql13 指定版本
- 【技巧】借助Sentinel实现请求的优先处理
- 商城系统APP如何开发 都有哪些步骤
猜你喜欢

if,case,for,while

Take care of JVM performance optimization (own note version)

结构体指针知识要点总结

转:管理是对可能性的热爱,管理者要有闯进未知的勇气

Introduction to mq application scenarios
2022年软件测试——精选金融银行面试真题

System design. Seckill system

企业直播风起:目睹聚焦产品,微赞拥抱生态

A Preliminary Study of RSS Subscription to WeChat Official Account-feed43
![The video of machine learning to learn [update]](/img/e7/c9a17b4816ce8d4b0787c451520ac3.png)
The video of machine learning to learn [update]
随机推荐
系统设计.秒杀系统
XSS related knowledge points
redis中常见的面试题
[C language advanced] program environment and preprocessing
Use serve to build a local server
2003. 每棵子树内缺失的最小基因值 DFS
SQL query String field less than 10 how to check
Deep learning -- CNN clothing image classification, for example, discussed how to evaluate neural network model
2022年软件测试——精选金融银行面试真题
【Ryerson情感说话/歌唱视听数据集(RAVDESS) 】
Introduction to the memory model of the JVM
Simple operation of the file system
QT 如何识别文件的编码格式
SVM介绍以及实战
docker安装mysql与宿主机相差8小时的问题。
Stop behind.
7. The principle description of LVS load balancing cluster
if,case,for,while
System design. How to design a spike system (full version transfer)
2.15 keil使用电脑端时间日期