当前位置:网站首页>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-07-24 20:51:00 【Jin Lan】
Due to the use of nvm management node edition , Upon completion of installation node -v 16.15.1 After the version , Inquire about npm Warning in version , Here's the picture :
Baidu translated :
npm Warn config global
--global,--localare deprecated. Use--location=globalinstead
translate : It is not recommended to use npm Warn config global “–global”、“–local”. Use “–location=global” Instead of
resolvent :
Find you. nvm The above warning appears in the folder node Version folder , find npm、npm.cmd file , With txt Text open and find prefix -g, Replace with prefix --location=global; Reopen the command line , Input npm -v There will be no more warning messages .

After replacement :


边栏推荐
- Mysql8 doesn't seem to support MyISAM partition tables. Does polardb-x support MyISAM partition tables?
- [feature selection] several methods of feature selection
- [msp430g2553] graphical development notes (2) system clock and low power consumption mode
- 驱动子系统开发
- [basic data mining technology] KNN simple clustering
- [training Day10] silly [simulation] [greed]
- Go language pack management
- How to learn automated testing
- Understand the domestic open source Magnolia license series agreement in simple terms
- Career development suggestions shared by ten CIOs
猜你喜欢

Understand the domestic open source Magnolia license series agreement in simple terms
![[msp430g2553] graphical development notes (1) configuration environment](/img/42/479c96d1e7f6747f893d1a0b65be3f.png)
[msp430g2553] graphical development notes (1) configuration environment

Actual measurement of Qunhui 71000 Gigabit Network

How to set the allure test report

Native applets are introduced using vant webapp

Methods of using tyrosine modified peptide nucleic acid PNA | Tyr PNA | BZ Tyr PNA | 99Tcm survivinmrna antisense peptide nucleic acid
Hilditch refinement (implementation I)

How to set appium script startup parameters

Generate self signed certificate: generate certificate and secret key

Baidu PaddlePaddle easydl helps improve the inspection efficiency of high-altitude photovoltaic power stations by 98%
随机推荐
Put apples
Summary of communication with customers
[training Day8] series [matrix multiplication]
Kubernetes resource list: how to create resources?
ma.glasnost.orika. MappingException:No converter registered for conversion from Date to LocalDateTime
Shenzhen Merchants Securities account opening? Is it safe to open a mobile account?
In the era of new knowledge economy, who is producing knowledge?
Markdown to PDF API data interface
When using vscode, the tab indentation changes from 4 spaces to small arrows (solved)
Lua environment configuration
A new UI testing method: visual perception test
Framework API online viewing source code
Transport layer protocol parsing -- UDP and TCP
[training Day10] linear [mathematics] [thinking]
1. Mx6u-alpha development board (buzzer experiment)
Pressing Ctrl will cause several key press messages
How about Urumqi Shenwan Hongyuan securities account opening? Is it safe?
One bite of Stream(7)
whistle ERR_ CERT_ AUTHORITY_ INVALID
English grammar_ Demonstrative pronoun this / these / that / those