npm ERR! code EPERM npm ERR! syscall mkdir npm ERR! path E:\Node\node_cache\_cacache npm ERR! errno -4048 npm ERR! Error: EPERM: operation not permitted, mkdir 'E:\Node\node_cache\_cacache' npm ERR! [Error: EPERM: operation not permitted, mkdir 'E:\Node\node_cache\_cacache'] { npm ERR! errno: -4048, npm ERR! code: 'EPERM', npm ERR! syscall: 'mkdir', npm ERR! path: 'E:\\Node\\node_cache\\_cacache', npm ERR! requiredBy: '.' 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! Log files were not written due to an error writing to the directory: E:\Node\node_cache\_logs npm ERR! You can rerun the command with `--loglevel=verbose` to see the logs in your terminal
时间: 2023-06-07 22:10:37 浏览: 740
npm报错error code EPERM, error syscall unlink,errno -4048解决
5星 · 资源好评率100%
根据您提供的信息显示,出现了一个错误,导致无法在E盘的node_cache文件夹下创建_cacache文件夹。此错误可能是由于其他应用程序正在使用该文件夹或您没有权限访问它所导致的。如果您认为这可能是权限问题,请检查文件及其包含目录的权限,或者尝试使用root / Administrator身份再次运行该命令。您可以使用“--loglevel = verbose”重新运行命令,以在终端中查看日志。
阅读全文