vue安装手脚架npm install -g @vue/cli过程报错npm ERR! syscall mkdir

  • 时间:2026-01-05 21:44 作者: 来源: 阅读:0
  • 扫一扫,手机访问
摘要:报错: npm ERR! code EPERM npm ERR! syscall mkdir npm ERR! path D: ode.js ode_global npm ERR! errno -4048 npm ERR! Error: EPERM: operation not permitted, mkdir ‘D: ode.js ode_global’ npm ERR! [Error: EPE

报错:

npm ERR! code EPERM

npm ERR! syscall mkdir

npm ERR! path D: ode.js ode_global

npm ERR! errno -4048

npm ERR! Error: EPERM: operation not permitted, mkdir ‘D: ode.js ode_global’

npm ERR! [Error: EPERM: operation not permitted, mkdir ‘D: ode.js ode_global’] {undefined

npm ERR! errno: -4048,

npm ERR! code: ‘EPERM’,

npm ERR! syscall: ‘mkdir’,

npm ERR! path: ‘D: ode.js ode_global’

npm ERR! }

npm ERR!

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

解决方法:

找到C盘下用户目录下的账户目录下的.npmrc文件,如果找不到试着打开隐藏的文件夹

vue安装手脚架npm install -g @vue/cli过程报错npm ERR! syscall mkdir

删除后来重新安装成功

  • 全部评论(0)
最新发布的资讯信息
【系统环境|】66年,红卫兵来抄家前,奶奶把一个首饰盒埋在了院里的石榴树下(2026-01-05 23:42)
【系统环境|】美半导体巨头彻底栽了!偷中国技术被硬刚,一箭三雕让其自食恶果(2026-01-05 23:42)
【系统环境|】用 Claude Code 搭建「从需求到交付」的自动化工作流(2026-01-05 23:42)
【系统环境|】毅硕HPC | 在HPC集群上优雅地使用Conda(2026-01-05 23:41)
【系统环境|】Anaconda介绍(2026-01-05 23:41)
【系统环境|】30 分钟纯本地 CPU 搭建自己的 GPT Vicuna 离线版并让它写高考英语作文(2026-01-05 23:41)
【系统环境|】为什么Python开发者都在疯狂推荐uv?(2026-01-05 23:41)
【系统环境|】pip VS poetry VS uv:Python包管理工具对比(2026-01-05 23:41)
【系统环境|】Anaconda配置Python中的xlrd库(2026-01-05 23:40)
【系统环境|】告别环境差异:Docker打造All In One 远程开发环境(2026-01-05 23:40)
手机二维码手机访问领取大礼包
返回顶部