当前位置:网站首页>【解决】npm WARN config global `--global`, `--local` are deprecated. Use `--location=global`
【解决】npm WARN config global `--global`, `--local` are deprecated. Use `--location=global`
2022-06-23 15:40:00 【兮动人】
- 在安装完 node 环境后,npm -v 显示如下问题
npm WARN config global `--global`, `--local` are deprecated. Use `--location=global` instead.
8.11.0
- node -v 没问题
- 解决方案如下:
分别打开如下这四个文件

然后把里面的
prefix -g替换成prefix --location=global
边栏推荐
- Drag the child file to the upper level
- npm install 问题解决(nvm安装与使用)
- How does the web container initialize third-party plug-ins
- Block, non block, multiplexing, synchronous, asynchronous, bio, NiO, AIO
- [tcapulusdb knowledge base] tcapulusdb tmonitor module architecture introduction
- 图片保存:torchvision.utils.save_image(img, imgPath)
- MATLAB中iscellstr函数的使用
- Do you understand Mipi c-phy protocol? One of the high-speed interfaces for mobile phones
- Leetcode 450.删除二叉搜索树中的结点
- Summarize the experience of purchasing Alibaba cloud servers
猜你喜欢
随机推荐
Web articles_ 01 understanding web development
How to quickly respond to changing production management needs?
15 differences between MES in process and discrete manufacturing enterprises (Part I)
[tcapulusdb knowledge base] Introduction to tmonitor background one click installation (II)
openGauss数据库源码解析系列文章—— 密态等值查询技术详解(上)
golang写文件代码示例
服务器的部署及使用说明
Apple iPhone, Samsung mobile phone and other electronic products began to enter Russia through parallel import channels
《ThreadLocal》
js 对象 使用小技巧
Does the enterprise want to use the MES system? These conditions have to be met
matlab: 如何从一些数据里知道是由哪些数据相加得出一个已知数
《利用CAS实现自旋锁》
139. word splitting
怎样快速的应对变动的生产管理需求?
[openharmony] USB gadget configuration HDC function cfg file interpretation
Thread pool
NLP 论文领读|改善意图识别的语义表示:有监督预训练中的各向同性正则化方法
CA authentication and issuance of revocation certificates
Advanced development - generic entry basic class test

![[tcapulusdb knowledge base] Introduction to new models of tcapulusdb](/img/2a/1d7f12c99b92d143e142ade8bc90f9.png)






