当前位置:网站首页>Solve the error: NPM warn config global ` --global`, `--local` are deprecated Use `--location=global` instead.
Solve the error: NPM warn config global ` --global`, `--local` are deprecated Use `--location=global` instead.
2022-07-08 01:14:00 【Lemon summer white】
Have nothing to do to reconfigure the front-end environment , After downloading Node.js
Check whether the installation is successful , Command line :node -v , npm -v
, Judgment for Node.js The version is too high , Error reporting diagram below :
Solution :
1. find Node.js
Install under directory npm.cmd
Script files , Open and edit in Notepad ;
2. The part circled in yellow , file prefix-g Change it to prefix --location=global
, Save after editing ;
3. Rerun the command line npm -v that will do .
边栏推荐
- AI zhetianchuan ml novice decision tree
- 2.非线性回归
- STL -- common function replication of string class
- C# ?,?.,?? .....
- Su embedded training - Day7
- 130. 被圍繞的區域
- 13.模型的保存和載入
- 10.CNN应用于手写数字识别
- Scheme selection and scheme design of multifunctional docking station for type C to VGA HDMI audio and video launched by ange in Taiwan | scheme selection and scheme explanation of usb-c to VGA HDMI c
- 完整的模型训练套路
猜你喜欢
5. Over fitting, dropout, regularization
Design method and reference circuit of type C to hdmi+ PD + BB + usb3.1 hub (rj45/cf/tf/ sd/ multi port usb3.1 type-A) multifunctional expansion dock
7.正则化应用
网络模型的保存与读取
[note] common combined filter circuit
解决报错:npm WARN config global `--global`, `--local` are deprecated. Use `--location=global` instead.
Semantic segmentation model base segmentation_ models_ Detailed introduction to pytorch
10.CNN应用于手写数字识别
Ag9310meq ag9310mfq angle two USB type C to HDMI audio and video data conversion function chips parameter difference and design circuit reference
Led serial communication
随机推荐
Leetcode notes No.7
Chapter VIII integrated learning
swift获取url参数
Parade ps8625 | replace ps8625 | EDP to LVDS screen adapter or screen drive board
Vs code configuration latex environment nanny level configuration tutorial (dual system)
解决报错:npm WARN config global `--global`, `--local` are deprecated. Use `--location=global` instead.
串口接收一包数据
The whole life cycle of commodity design can be included in the scope of industrial Internet
基础篇——整合第三方技术
Ag7120 and ag7220 explain the driving scheme of HDMI signal extension amplifier | ag7120 and ag7220 design HDMI signal extension amplifier circuit reference
How does starfish OS enable the value of SFO in the fourth phase of SFO destruction?
130. 被圍繞的區域
Generic configuration legend
Semantic segmentation model base segmentation_ models_ Detailed introduction to pytorch
Recommend a document management tool mendely Reference Manager
完整的模型训练套路
完整的模型验证(测试,demo)套路
Ag9310 design USB type C to hdmi+u2+5v slow charging scheme design | ag9310 expansion dock scheme circuit | type-C dongle design data
13. Enregistrement et chargement des modèles
Vscode is added to the right-click function menu