当前位置:网站首页>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 .
边栏推荐
- Jemter distributed
- Letcode43: string multiplication
- Vscode is added to the right-click function menu
- Basic implementation of pie chart
- Taiwan Xinchuang sss1700 latest Chinese specification | sss1700 latest Chinese specification | sss1700datasheet Chinese explanation
- 4. Cross entropy
- [deep learning] AI one click to change the sky
- Two methods for full screen adaptation of background pictures, background size: cover; Or (background size: 100% 100%;)
- Understanding of sidelobe cancellation
- 50Mhz产生时间
猜你喜欢
随机推荐
NVIDIA Jetson test installation yolox process record
[deep learning] AI one click to change the sky
C# ?,?.,?? .....
2022-07-07: the original array is a monotonic array with numbers greater than 0 and less than or equal to K. there may be equal numbers in it, and the overall trend is increasing. However, the number
14. Draw network model structure
6.Dropout应用
跨模态语义关联对齐检索-图像文本匹配(Image-Text Matching)
4.交叉熵
9.卷积神经网络介绍
Multi purpose signal modulation generation system based on environmental optical signal detection and user-defined signal rules
Recommend a document management tool mendely Reference Manager
13. Model saving and loading
Su embedded training - Day6
Vscode reading Notepad Chinese display garbled code
y59.第三章 Kubernetes从入门到精通 -- 持续集成与部署(三二)
13.模型的保存和載入
Leetcode notes No.7
Ag9310 for type-C docking station scheme circuit design method | ag9310 for type-C audio and video converter scheme circuit design reference
Y59. Chapter III kubernetes from entry to proficiency - continuous integration and deployment (III, II)
Smart grid overview