当前位置:网站首页>npm warn config global `--global`, `--local` are deprecated. Use ` --location solution
npm warn config global `--global`, `--local` are deprecated. Use ` --location solution
2022-07-20 15:18:00 【Bukaisen, East Africa】
install node.js when , Verify whether the installation is successful
Normally it's like this
But often npm -v I will make a mistake
npm warn config global --global
, --local
are deprecated. use `–location
resolvent :
- Find the installation location , take npm npm.cmd Medium
- Find that 2 In a file prefix -g Replace with prefix --location=global
Be careful : Opening it directly may not open
Method : Right click -> attribute -> Choose safety -> edit -> Tick write -> Determine the application
If npm.cmd If you still Dodge
The first .cmd Change it to .txt Then change the part you want to change and save it And then .txt Change it to .cmd
Pro feasible measurement !
边栏推荐
猜你喜欢
GCD spanning tree of provincial selection and special training
(0711-0717)本周开源软件安全大事记
Southern Cass 10.1 software installation package download and installation tutorial
25. Inheritance and derivation
Devops has been practiced for many years. What is the most painful thing?
小程序技术解决桌面应用敏捷迭代的一种思路
Socket error Event: 32 Error: 10053. Connection closing...Socket close
mindspore 8卡V100训练到101个epoch的时候报读取数据超时的错误
ACL 2022 | text to table: a new information extraction task
IDEA中如何安装插件和宝贝插件的推荐
随机推荐
opencv学习(5)之鼠标操作 归一化 放缩 图像翻转
Input and output characteristic curve and gm/id simulation curve of MOS tube (cadence ic617)
UICollectionViewCell和UITableViewCell上下左右留空白
成功解决TypeError: a bytes-like object is required, not ‘str‘
LP双币质押流动性挖矿dapp系统开发逻辑分析
Leetcode | 滑动窗口
三招从 20s 优化到 500ms
JS class 并不只是简单的语法糖!
在线XML转JSON工具
机器翻译做到头了?Meta开源NLLB翻译模型,支持200种语言互译
[bzoj2393] cirno's perfect math classroom
Uncover the data enhancement potential of MAE, and Shanghai Communications & Huawei proposes masking reconstruction data enhancement based on MAE
函数递归习题(easy版)
电机控制---SVPWM扇区判断的实现以及推导过程
完善镜像站配置信息 — 镜像站体验官
实例|APICloud AVM框架封装滑动单元格组件
全球1000+研究员在Twitter直播训练超大模型??
Exercice récursif fonctionnel (version Easy)
Analysis of e-commerce user behavior data
Mindspore1.1.1源码编译安装--核心编译阶段报错