当前位置:网站首页>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 .
边栏推荐
- Mathematical modeling -- knowledge map
- 8.优化器
- New library online | information data of Chinese journalists
- [go record] start go language from scratch -- make an oscilloscope with go language (I) go language foundation
- 130. 被圍繞的區域
- Redis, do you understand the list
- Leetcode notes No.7
- Study notes of single chip microcomputer and embedded system
- 7.正则化应用
- 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
猜你喜欢
Cross modal semantic association alignment retrieval - image text matching
Basic implementation of pie chart
How to use education discounts to open Apple Music members for 5 yuan / month and realize member sharing
6.Dropout应用
Chapter 7 Bayesian classifier
11.递归神经网络RNN
General configuration tooltip
利用GPU训练网络模型
完整的模型训练套路
Common effects of line chart
随机推荐
Continued from the previous design
5. Over fitting, dropout, regularization
For the first time in China, three Tsinghua Yaoban undergraduates won the stoc best student thesis award
New library launched | cnopendata China Time-honored enterprise directory
9. Introduction to convolutional neural network
How does starfish OS enable the value of SFO in the fourth phase of SFO destruction?
How to write mark down on vscode
13.模型的保存和载入
130. 被圍繞的區域
Introduction to the types and repair methods of chip Eco
13.模型的保存和載入
German prime minister says Ukraine will not receive "NATO style" security guarantee
14.绘制网络模型结构
New library online | information data of Chinese journalists
Chapter 5 neural network
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
Generic configuration legend
跨模态语义关联对齐检索-图像文本匹配(Image-Text Matching)
133. Clone map
Chapter improvement of clock -- multi-purpose signal modulation generation system based on ambient optical signal detection and custom signal rules