Hcz_021s 2021-12-10 22:44 采纳率: 0%
浏览 26

在安装node.js里面的gulp出现这样的情况,请问怎么解决

PS D:\study\Node.js\gulp.demo> npm install gulp
npm ERR! code EPERM
npm ERR! syscall mkdir
npm ERR! path D:\study\Node.js\node_modules.npm-Rlgvxer9
npm ERR! errno -4048
npm ERR! Error: EPERM: operation not permitted, mkdir 'D:\study\Node.js\node_modules.npm-Rlgvxer9'
npm ERR! [Error: EPERM: operation not permitted, mkdir 'D:\study\Node.js\node_modules.npm-Rlgvxer9'] {
npm ERR! errno: -4048,
npm ERR! code: 'EPERM',
npm ERR! syscall: 'mkdir',
npm ERR! path: 'D:\study\Node.js\node_modules\.npm-Rlgvxer9'
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! C:\Users\lenovo\AppData\Local\npm-cache_logs\2021-12-10T14_14_58_502Z-debug.log

  • 写回答

1条回答 默认 最新

  • CSDN专家-Time 2021-12-11 08:20
    关注

    img


    用管理员命令行打开。

    评论

报告相同问题?

问题事件

  • 创建了问题 12月10日

悬赏问题

  • ¥15 Arduino红外遥控代码有问题
  • ¥15 数值计算离散正交多项式
  • ¥30 数值计算均差系数编程
  • ¥15 redis-full-check比较 两个集群的数据出错
  • ¥15 Matlab编程问题
  • ¥15 训练的多模态特征融合模型准确度很低怎么办
  • ¥15 kylin启动报错log4j类冲突
  • ¥15 超声波模块测距控制点灯,灯的闪烁很不稳定,经过调试发现测的距离偏大
  • ¥15 import arcpy出现importing _arcgisscripting 找不到相关程序
  • ¥15 onvif+openssl,vs2022编译openssl64