IT数码 购物 网址 头条 软件 日历 阅读 图书馆
TxT小说阅读器
↓语音阅读,小说下载,古典文学↓
图片批量下载器
↓批量下载图片,美女图库↓
图片自动播放器
↓图片自动播放器↓
一键清除垃圾
↓轻轻一点,清除系统垃圾↓
开发: C++知识库 Java知识库 JavaScript Python PHP知识库 人工智能 区块链 大数据 移动开发 嵌入式 开发工具 数据结构与算法 开发测试 游戏开发 网络协议 系统运维
教程: HTML教程 CSS教程 JavaScript教程 Go语言教程 JQuery教程 VUE教程 VUE3教程 Bootstrap教程 SQL数据库教程 C语言教程 C++教程 Java教程 Python教程 Python3教程 C#教程
数码: 电脑 笔记本 显卡 显示器 固态硬盘 硬盘 耳机 手机 iphone vivo oppo 小米 华为 单反 装机 图拉丁
 
   -> JavaScript知识库 -> vue-element-admin安装依赖报错npm ERR! errno -4048 -> 正文阅读

[JavaScript知识库]vue-element-admin安装依赖报错npm ERR! errno -4048

vue-element-admin安装依赖报错npm ERR! errno -4048

npm ERR! code EPERM
npm ERR! syscall open
npm ERR! path E:\Program Files\nodejs\node_cache_cacache\index-v5\5a\9e\e15a3f9d9706d106abdc594dacffa59652dd8d3c1dba4617629a01b8c8c3
npm ERR! errno -4048
npm ERR! Error: EPERM: operation not permitted, open ‘E:\Program Files\nodejs\node_cache_cacache\index-v5\5a\9e\e15a3f9d9706d106abdc594dacffa59652dd8d3c1dba4617629a01b8c8c3’
npm ERR! [OperationalError: EPERM: operation not permitted, open ‘E:\Program Files\nodejs\node_cache_cacache\index-v5\5a\9e\e15a3f9d9706d106abdc594dacffa59652dd8d3c1dba4617629a01b8c8c3’] {
npm ERR! cause: [Error: EPERM: operation not permitted, open ‘E:\Program Files\nodejs\node_cache_cacache\index-v5\5a\9e\e15a3f9d9706d106abdc594dacffa59652dd8d3c1dba4617629a01b8c8c3’] {
npm ERR! errno: -4048,
npm ERR! code: ‘EPERM’,
npm ERR! syscall: ‘open’,
npm ERR! path: ‘E:\Program Files\nodejs\node_cache\_cacache\index-v5\5a\9e\e15a3f9d9706d106abdc594dacffa59652dd8d3c1dba4617629a01b8c8c3’
npm ERR! },
npm ERR! isOperational: true,
npm ERR! errno: -4048,
npm ERR! code: ‘EPERM’,
npm ERR! syscall: ‘open’,
npm ERR! path: ‘E:\Program Files\nodejs\node_cache\_cacache\index-v5\5a\9e\e15a3f9d9706d106abdc594dacffa59652dd8d3c1dba4617629a01b8c8c3’
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
npm ERR! the command again as root/Administrator.
npm WARN deprecated babel-eslint@10.1.0: babel-eslint is now @babel/eslint-parser. This package will no longer receive updates.
npm WARN deprecated chokidar@2.1.5: Chokidar 2 will break on node v14+. Upgrade to chokidar 3 with 15x less dependencies.
npm WARN deprecated html-webpack-plugin@3.2.0: 3.x is no longer supported
npm ERR! code EPERM
npm ERR! syscall open
npm ERR! path E:\Program Files\nodejs\node_cache_cacache\index-v5\40\b2\5ac684b964e07369469b5529d4795b21991d26b27f8065207be622f6716a
npm ERR! errno -4048
npm ERR! Error: EPERM: operation not permitted, open ‘E:\Program Files\nodejs\node_cache_cacache\index-v5\40\b2\5ac684b964e07369469b5529d4795b21991d26b27f8065207be622f6716a’
npm ERR! [OperationalError: EPERM: operation not permitted, open ‘E:\Program Files\nodejs\node_cache_cacache\index-v5\40\b2\5ac684b964e07369469b5529d4795b21991d26b27f8065207be622f6716a’] {
npm ERR! cause: [Error: EPERM: operation not permitted, open ‘E:\Program Files\nodejs\node_cache_cacache\index-v5\40\b2\5ac684b964e07369469b5529d4795b21991d26b27f8065207be622f6716a’] {
npm ERR! errno: -4048,
npm ERR! code: ‘EPERM’,
npm ERR! syscall: ‘open’,
npm ERR! path: ‘E:\Program Files\nodejs\node_cache\_cacache\index-v5\40\b2\5ac684b964e07369469b5529d4795b21991d26b27f8065207be622f6716a’
npm ERR! },
npm ERR! isOperational: true,
npm ERR! errno: -4048,
npm ERR! code: ‘EPERM’,
npm ERR! syscall: ‘open’,
npm ERR! path: ‘E:\Program Files\nodejs\node_cache\_cacache\index-v5\40\b2\5ac684b964e07369469b5529d4795b21991d26b27f8065207be622f6716a’
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
npm ERR! the command again as root/Administrator.
npm ERR! code EPERM
npm ERR! syscall open
npm ERR! path E:\Program Files\nodejs\node_cache_cacache\index-v5\e1\7b\e664e58a1dbbedb2074ac21eea6cefecb5c59696438c8a2af7606a7076ed
npm ERR! errno -4048
npm ERR! Error: EPERM: operation not permitted, open ‘E:\Program Files\nodejs\node_cache_cacache\index-v5\e1\7b\e664e58a1dbbedb2074ac21eea6cefecb5c59696438c8a2af7606a7076ed’
npm ERR! [OperationalError: EPERM: operation not permitted, open ‘E:\Program Files\nodejs\node_cache_cacache\index-v5\e1\7b\e664e58a1dbbedb2074ac21eea6cefecb5c59696438c8a2af7606a7076ed’] {
npm ERR! cause: [Error: EPERM: operation not permitted, open ‘E:\Program Files\nodejs\node_cache_cacache\index-v5\e1\7b\e664e58a1dbbedb2074ac21eea6cefecb5c59696438c8a2af7606a7076ed’] {
npm ERR! errno: -4048,
npm ERR! code: ‘EPERM’,
npm ERR! syscall: ‘open’,
npm ERR! path: ‘E:\Program Files\nodejs\node_cache\_cacache\index-v5\e1\7b\e664e58a1dbbedb2074ac21eea6cefecb5c59696438c8a2af7606a7076ed’
npm ERR! },
npm ERR! isOperational: true,
npm ERR! errno: -4048,
npm ERR! code: ‘EPERM’,
npm ERR! syscall: ‘open’,
npm ERR! path: ‘E:\Program Files\nodejs\node_cache\_cacache\index-v5\e1\7b\e664e58a1dbbedb2074ac21eea6cefecb5c59696438c8a2af7606a7076ed’
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
npm ERR! the command again as root/Administrator.
npm ERR! code EPERM
npm ERR! syscall open
npm ERR! path E:\Program Files\nodejs\node_cache_cacache\index-v5\cb\16\92a47928733e8b5af04b549cab41f59dfe4531766cf31bf7449311d23945
npm ERR! errno -4048
npm ERR! Error: EPERM: operation not permitted, open ‘E:\Program Files\nodejs\node_cache_cacache\index-v5\cb\16\92a47928733e8b5af04b549cab41f59dfe4531766cf31bf7449311d23945’
npm ERR! [OperationalError: EPERM: operation not permitted, open ‘E:\Program Files\nodejs\node_cache_cacache\index-v5\cb\16\92a47928733e8b5af04b549cab41f59dfe4531766cf31bf7449311d23945’] {
npm ERR! cause: [Error: EPERM: operation not permitted, open ‘E:\Program Files\nodejs\node_cache_cacache\index-v5\cb\16\92a47928733e8b5af04b549cab41f59dfe4531766cf31bf7449311d23945’] {
npm ERR! errno: -4048,
npm ERR! code: ‘EPERM’,
npm ERR! syscall: ‘open’,
npm ERR! path: ‘E:\Program Files\nodejs\node_cache\_cacache\index-v5\cb\16\92a47928733e8b5af04b549cab41f59dfe4531766cf31bf7449311d23945’
npm ERR! },
npm ERR! isOperational: true,
npm ERR! errno: -4048,
npm ERR! code: ‘EPERM’,
npm ERR! syscall: ‘open’,
npm ERR! path: ‘E:\Program Files\nodejs\node_cache\_cacache\index-v5\cb\16\92a47928733e8b5af04b549cab41f59dfe4531766cf31bf7449311d23945’
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
npm ERR! the command again as root/Administrator.
npm ERR! code EPERM
npm ERR! syscall open
npm ERR! path E:\Program Files\nodejs\node_cache_cacache\index-v5\65\b9\7f5c3c73c61b3a044be0586feff6812feb9a92164b31f9b6110b2a2be417
npm ERR! errno -4048
npm ERR! Error: EPERM: operation not permitted, open ‘E:\Program Files\nodejs\node_cache_cacache\index-v5\65\b9\7f5c3c73c61b3a044be0586feff6812feb9a92164b31f9b6110b2a2be417’
npm ERR! [OperationalError: EPERM: operation not permitted, open ‘E:\Program Files\nodejs\node_cache_cacache\index-v5\65\b9\7f5c3c73c61b3a044be0586feff6812feb9a92164b31f9b6110b2a2be417’] {
npm ERR! cause: [Error: EPERM: operation not permitted, open ‘E:\Program Files\nodejs\node_cache_cacache\index-v5\65\b9\7f5c3c73c61b3a044be0586feff6812feb9a92164b31f9b6110b2a2be417’] {
npm ERR! errno: -4048,
npm ERR! code: ‘EPERM’,
npm ERR! syscall: ‘open’,
npm ERR! path: ‘E:\Program Files\nodejs\node_cache\_cacache\index-v5\65\b9\7f5c3c73c61b3a044be0586feff6812feb9a92164b31f9b6110b2a2be417’
npm ERR! },
npm ERR! isOperational: true,
npm ERR! errno: -4048,
npm ERR! code: ‘EPERM’,
npm ERR! syscall: ‘open’,
npm ERR! path: ‘E:\Program Files\nodejs\node_cache\_cacache\index-v5\65\b9\7f5c3c73c61b3a044be0586feff6812feb9a92164b31f9b6110b2a2be417’
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
npm ERR! the command again as root/Administrator.
npm ERR! code EPERM
npm ERR! syscall open
npm ERR! path E:\Program Files\nodejs\node_cache_cacache\index-v5\7b\84\cd048aa4110ee2db622812e3bf0178b638f227fa77f2ea68f3496e4fd964
npm ERR! errno -4048
npm ERR! Error: EPERM: operation not permitted, open ‘E:\Program Files\nodejs\node_cache_cacache\index-v5\7b\84\cd048aa4110ee2db622812e3bf0178b638f227fa77f2ea68f3496e4fd964’
npm ERR! [OperationalError: EPERM: operation not permitted, open ‘E:\Program Files\nodejs\node_cache_cacache\index-v5\7b\84\cd048aa4110ee2db622812e3bf0178b638f227fa77f2ea68f3496e4fd964’] {
npm ERR! cause: [Error: EPERM: operation not permitted, open ‘E:\Program Files\nodejs\node_cache_cacache\index-v5\7b\84\cd048aa4110ee2db622812e3bf0178b638f227fa77f2ea68f3496e4fd964’] {
npm ERR! errno: -4048,
npm ERR! code: ‘EPERM’,
npm ERR! syscall: ‘open’,
npm ERR! path: ‘E:\Program Files\nodejs\node_cache\_cacache\index-v5\7b\84\cd048aa4110ee2db622812e3bf0178b638f227fa77f2ea68f3496e4fd964’
npm ERR! },
npm ERR! isOperational: true,
npm ERR! errno: -4048,
npm ERR! code: ‘EPERM’,
npm ERR! syscall: ‘open’,
npm ERR! path: ‘E:\Program Files\nodejs\node_cache\_cacache\index-v5\7b\84\cd048aa4110ee2db622812e3bf0178b638f227fa77f2ea68f3496e4fd964’
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
npm ERR! the command again as root/Administrator.
npm ERR! code EPERM
npm ERR! syscall open
npm ERR! path E:\Program Files\nodejs\node_cache_cacache\index-v5\27\83\ebf28766469a181a1f91d3d9d7a5db986378f30df1431077fb824db7cf76
npm ERR! errno -4048
npm ERR! Error: EPERM: operation not permitted, open ‘E:\Program Files\nodejs\node_cache_cacache\index-v5\27\83\ebf28766469a181a1f91d3d9d7a5db986378f30df1431077fb824db7cf76’
npm ERR! [OperationalError: EPERM: operation not permitted, open ‘E:\Program Files\nodejs\node_cache_cacache\index-v5\27\83\ebf28766469a181a1f91d3d9d7a5db986378f30df1431077fb824db7cf76’] {
npm ERR! cause: [Error: EPERM: operation not permitted, open ‘E:\Program Files\nodejs\node_cache_cacache\index-v5\27\83\ebf28766469a181a1f91d3d9d7a5db986378f30df1431077fb824db7cf76’] {
npm ERR! errno: -4048,
npm ERR! code: ‘EPERM’,
npm ERR! syscall: ‘open’,
npm ERR! path: ‘E:\Program Files\nodejs\node_cache\_cacache\index-v5\27\83\ebf28766469a181a1f91d3d9d7a5db986378f30df1431077fb824db7cf76’
npm ERR! },
npm ERR! isOperational: true,
npm ERR! errno: -4048,
npm ERR! code: ‘EPERM’,
npm ERR! syscall: ‘open’,
npm ERR! path: ‘E:\Program Files\nodejs\node_cache\_cacache\index-v5\27\83\ebf28766469a181a1f91d3d9d7a5db986378f30df1431077fb824db7cf76’
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
npm ERR! the command again as root/Administrator.
npm ERR! code EPERM
npm ERR! syscall open
npm ERR! path E:\Program Files\nodejs\node_cache_cacache\index-v5\6d\c1\f9326bda6c662e1d0ac309da50fe28efd1d3303adb7a45feb24f8bf284ea
npm ERR! errno -4048
npm ERR! Error: EPERM: operation not permitted, open ‘E:\Program Files\nodejs\node_cache_cacache\index-v5\6d\c1\f9326bda6c662e1d0ac309da50fe28efd1d3303adb7a45feb24f8bf284ea’
npm ERR! [OperationalError: EPERM: operation not permitted, open ‘E:\Program Files\nodejs\node_cache_cacache\index-v5\6d\c1\f9326bda6c662e1d0ac309da50fe28efd1d3303adb7a45feb24f8bf284ea’] {
npm ERR! cause: [Error: EPERM: operation not permitted, open ‘E:\Program Files\nodejs\node_cache_cacache\index-v5\6d\c1\f9326bda6c662e1d0ac309da50fe28efd1d3303adb7a45feb24f8bf284ea’] {
npm ERR! errno: -4048,
npm ERR! code: ‘EPERM’,
npm ERR! syscall: ‘open’,
npm ERR! path: ‘E:\Program Files\nodejs\node_cache\_cacache\index-v5\6d\c1\f9326bda6c662e1d0ac309da50fe28efd1d3303adb7a45feb24f8bf284ea’
npm ERR! },
npm ERR! isOperational: true,
npm ERR! errno: -4048,
npm ERR! code: ‘EPERM’,
npm ERR! syscall: ‘open’,
npm ERR! path: ‘E:\Program Files\nodejs\node_cache\_cacache\index-v5\6d\c1\f9326bda6c662e1d0ac309da50fe28efd1d3303adb7a45feb24f8bf284ea’
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
npm ERR! the command again as root/Administrator.
npm WARN deprecated eslint-loader@2.2.1: This loader has been deprecated. Please use eslint-webpack-plugin
npm ERR! code EPERM
npm ERR! syscall open
npm ERR! path E:\Program Files\nodejs\node_cache_cacache\index-v5\32\da\0319ae27e922d6780248cb0eed5d42be199646ea8d73dcbfe61851e7ad7b
npm ERR! errno -4048
npm ERR! Error: EPERM: operation not permitted, open ‘E:\Program Files\nodejs\node_cache_cacache\index-v5\32\da\0319ae27e922d6780248cb0eed5d42be199646ea8d73dcbfe61851e7ad7b’
npm ERR! [OperationalError: EPERM: operation not permitted, open ‘E:\Program Files\nodejs\node_cache_cacache\index-v5\32\da\0319ae27e922d6780248cb0eed5d42be199646ea8d73dcbfe61851e7ad7b’] {
npm ERR! cause: [Error: EPERM: operation not permitted, open ‘E:\Program Files\nodejs\node_cache_cacache\index-v5\32\da\0319ae27e922d6780248cb0eed5d42be199646ea8d73dcbfe61851e7ad7b’] {
npm ERR! errno: -4048,
npm ERR! code: ‘EPERM’,
npm ERR! syscall: ‘open’,
npm ERR! path: ‘E:\Program Files\nodejs\node_cache\_cacache\index-v5\32\da\0319ae27e922d6780248cb0eed5d42be199646ea8d73dcbfe61851e7ad7b’
npm ERR! },
npm ERR! isOperational: true,
npm ERR! errno: -4048,
npm ERR! code: ‘EPERM’,
npm ERR! syscall: ‘open’,
npm ERR! path: ‘E:\Program Files\nodejs\node_cache\_cacache\index-v5\32\da\0319ae27e922d6780248cb0eed5d42be199646ea8d73dcbfe61851e7ad7b’
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
npm ERR! the command again as root/Administrator.

npm ERR! A complete log of this run can be found in:
npm ERR! E:\Program Files\nodejs\node_cache_logs\2021-08-23T15_11_37_807Z-debug.log在这里插入图片描述
vue-element-admin安装依赖报错npm ERR! errno -4048,使用管理员身份运行终端,安装成功的图片忘记截图了

克隆项目

git clone https://github.com/PanJiaChen/vue-element-admin.git

进入项目目录

cd vue-element-admin

安装依赖

npm install

建议不要直接使用 cnpm 安装依赖,会有各种诡异的 bug。可以通过如下操作解决 npm 下载速度慢的问题

npm install --registry=https://registry.npm.taobao.org

启动服务

npm run dev

  JavaScript知识库 最新文章
ES6的相关知识点
react 函数式组件 & react其他一些总结
Vue基础超详细
前端JS也可以连点成线(Vue中运用 AntVG6)
Vue事件处理的基本使用
Vue后台项目的记录 (一)
前后端分离vue跨域,devServer配置proxy代理
TypeScript
初识vuex
vue项目安装包指令收集
上一篇文章      下一篇文章      查看所有文章
加:2021-08-24 15:27:49  更:2021-08-24 15:28:55 
 
开发: C++知识库 Java知识库 JavaScript Python PHP知识库 人工智能 区块链 大数据 移动开发 嵌入式 开发工具 数据结构与算法 开发测试 游戏开发 网络协议 系统运维
教程: HTML教程 CSS教程 JavaScript教程 Go语言教程 JQuery教程 VUE教程 VUE3教程 Bootstrap教程 SQL数据库教程 C语言教程 C++教程 Java教程 Python教程 Python3教程 C#教程
数码: 电脑 笔记本 显卡 显示器 固态硬盘 硬盘 耳机 手机 iphone vivo oppo 小米 华为 单反 装机 图拉丁

360图书馆 购物 三丰科技 阅读网 日历 万年历 2024年12日历 -2024/12/27 5:37:24-

图片自动播放器
↓图片自动播放器↓
TxT小说阅读器
↓语音阅读,小说下载,古典文学↓
一键清除垃圾
↓轻轻一点,清除系统垃圾↓
图片批量下载器
↓批量下载图片,美女图库↓
  网站联系: qq:121756557 email:121756557@qq.com  IT数码
数据统计