| vue-element-admin安装依赖报错npm ERR! errno -4048 npm ERR! code EPERMnpm 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 |