当前位置:网站首页>npm WARN config global `--global`, `--local` are deprecated. Use `--location=global` instead.npm ER
npm WARN config global `--global`, `--local` are deprecated. Use `--location=global` instead.npm ER
2022-06-26 09:32:00 【郭宝】
背景:
在通过npm安装@vue-cli时,出现了如下报错信息
npm WARN config global `--global`, `--local` are deprecated. Use `--location=global` instead.
npm ERR! code EACCES
npm ERR! syscall mkdir
npm ERR! path /usr/local/lib/node_modules/@vue
npm ERR! errno -13
npm ERR! Error: EACCES: permission denied, mkdir '/usr/local/lib/node_modules/@vue'
npm ERR! [Error: EACCES: permission denied, mkdir '/usr/local/lib/node_modules/@vue'] {
npm ERR! errno: -13,
npm ERR! code: 'EACCES',
npm ERR! syscall: 'mkdir',
npm ERR! path: '/usr/local/lib/node_modules/@vue'
npm ERR! }
npm ERR!
npm ERR! The operation was rejected by your operating system.
npm ERR! It is likely you do not have the permissions to access this file as the current user
npm ERR!
npm ERR! If you believe this might be a permissions issue, please double-check the
npm ERR! permissions of the file and its containing directo边栏推荐
- Understanding of swing transformer
- Analysis of ROS calculation diagram level
- 2021年全国职业院校技能大赛(中职组)网络安全竞赛试题(2)详解
- 51 single chip microcomputer ROM and ram
- Comprehensive interpretation! Use of generics in golang
- 【pulsar学习】pulsar架构原理
- Solve Django's if Version (1, 3, 3): raise improverlyconfigured ('mysqlclient 1.3.3 or new is required
- Thinkphp5 manual error reporting
- 同花顺炒股软件安全性怎样?在同花顺怎么开户
- PHP extracts TXT text to store the domain name in JSON data
猜你喜欢

Self taught neural network series - 9 convolutional neural network CNN

【CVPR 2019】Semantic Image Synthesis with Spatially-Adaptive Normalization(SPADE)

Upgrade idea to 2021.2 shortcut keys

全面解读!Golang中泛型的使用

Detectron2 outputs validation loss during training

3 big questions! Redis cache exceptions and handling scheme summary

常用电路设计

php提取txt文本存储json数据中的域名

online trajectory generation

Comprehensive interpretation! Use of generics in golang
随机推荐
Common SQL add / delete / modify query statements
MATLAB basic operation command
Param in the paper
xsync同步脚本的创建及使用(以Debian10集群为例)
"One week to solve the model electricity" - negative feedback
There is a strong demand for enterprise level data integration services. How to find a breakthrough for optimization?
Analysis of ROS calculation diagram level
《一周搞定模电》—集成运算放大器
OpenCV depthframe -> pointcloud 导致 segmentation fault!
The first problem troubleshooting process of re disk
Kubernetes cluster deployment (v1.23.5)
Self taught neural network series - 9 convolutional neural network CNN
【Sensors 2021】Relation-Based Deep Attention Network with Hybrid Memory for One-Shot Person Re-Id
Champions League data set (Messi doesn't cry - leaving Barcelona may reach another peak)
Master data management of scientific research institutes? Suppliers or customers? I am a correspondent
jz2440---使用uboot烧录程序
install opencv-contrib-dev to use aruco code
JSON file to XML file
The first techo day Tencent technology open day, 628
【AAAI 2021】Few-Shot One-Class Classification via Meta-Learning 【FSOCC via Meta-learning】