当前位置:网站首页>Resolved error: npm WARN config global `--global`, `--local` are deprecated
Resolved error: npm WARN config global `--global`, `--local` are deprecated
2022-08-04 05:02:00 【young_man2】
I encountered the above problem when modifying the image of node.js, I really did it for a long time!! Be sure to share it!
We need to replace prefix -g with in the following four filesprefix --location=global

Then it is very important. Presumably many friends will encounter problems that cannot be modified, so the solution is in the picture below!
Right-click the file and select Properties

Then there you go!
I hope it helps you, give me a thumbs up if it helps!!
Today's birthday, very happy!
边栏推荐
- 【21 Days Learning Challenge】Direct Insertion Sort
- 应届生软件测试薪资大概多少?
- Towards Real-Time Multi-Object Tracking (JDE)
- Write golang simple C2 remote control based on gRPC
- 编程大杂烩(三)
- C Expert Programming Chapter 5 Thinking about Linking 5.2 Advantages of Dynamic Linking
- Landing, the IFC, GFC, FFC concept, layout rules, forming method, use is analysed
- 信息学奥赛一本通 1312:【例3.4】昆虫繁殖
- Use Patroni callback script to bind VIP pit
- Simple operation of the file system
猜你喜欢
随机推荐
数的划分之动态规划
JVM笔记
OpenGL绘制圆
[SemiDrive source code analysis] [MailBox inter-core communication] 47 - Analysis of RPMSG_IPCC_RPC mode limit size of single transmission and limit bandwidth test
Towards Real-Time Multi-Object Tracking(JDE)
Mobile payment online and offline payment scenarios
基于gRPC编写golang简单C2远控
Use Patroni callback script to bind VIP pit
编程大杂烩(三)
深度学习21天——准备(环境配置)
C专家编程 第4章 令人震惊的事实:数组和指针并不相同 4.1 数组并非指针
[C language advanced] program environment and preprocessing
What are the functions of mall App development?
mysql索引笔记
2023年PMP考试会用新版教材吗?回复来了!
C Expert Programming Chapter 5 Thinking about Chaining 5.6 Take it easy --- see who's talking: take the Turning quiz
px、em、rem的区别
The idea setting recognizes the .sql file type and other file types
7-2 LVS+DR概述与部署
The 2022 PMP exam has been delayed, should we be happy or worried?









