112798 error code EPERM
112799 error errno -4048
112800 error syscall rename
112801 error Error: EPERM: operation not permitted, rename 'D:\git\package.json.1446408034' -> 'D:\git\package.json'
112801 error  { [Error: EPERM: operation not permitted, rename 'D:\git\package.json.1446408034' -> 'D:\git\package.json']
112801 error   errno: -4048,
112801 error   code: 'EPERM',
112801 error   syscall: 'rename',
112801 error   path:
112801 error    'D:\\git\\package.json.1446408034',
112801 error   dest:
112801 error    'D:\\git\\package.json',
112801 error   parent: 'aa' }
112802 error Please try running this command again as root/Administrator.

解决方法:

npm install npm@^6 -g

原理:

待补充

Logo

前往低代码交流专区

更多推荐