安装vue发生异常:npm ERR! the command again as root/Administrator.

一、异常

npm ERR! The operation was rejected by your operating system.

npm ERR! It's possible that the file was already in use (by a text editor or antivirus),

npm ERR! or that you lack permissions to access it.

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 directories, or try running
npm ERR! the command again as root/Administrator.

二、原因

使用管理员身份安装

三、解决

相关推荐
We་ct9 分钟前
LeetCode 34. 在排序数组中查找元素的第一个和最后一个位置:二分查找实战
前端·算法·leetcode·typescript·二分
Nan_Shu_6149 分钟前
学习:Cesium (4)
前端·学习
Loadings28 分钟前
聊聊 AI Coding 的最新范式:Harness Engineering:我们这群程序员,又要继续学了?
前端·后端
科雷软件测试30 分钟前
Midscene.js - AI驱动,带来全新UI自动化体验(安装配置篇)
javascript·人工智能·ui
ssshooter30 分钟前
哈希是怎么被破解的?
前端·后端
蜡台36 分钟前
Vue 中多项目的组件共用方案
前端·javascript·vue.js·git
笨笨狗吞噬者42 分钟前
【uniapp】微信小程序实现自定义 tabBar
前端·微信小程序·uni-app
angerdream1 小时前
最新版vue3+TypeScript开发入门到实战教程之路由详解二
javascript·vue.js
恋猫de小郭1 小时前
React Native 鸿蒙 2026 路线发布,为什么它的适配成本那么高?
android·前端·react native
一颗烂土豆1 小时前
拒绝 rem 计算!Vue3 大屏适配,我用 vfit 一行代码搞定
vue.js·响应式设计·数据可视化