gpt4 book ai didi

javascript - EPERM : operation not permitted, 取消链接 'C:\Users\**\node_modules\.node-sass.DELETE\vendor\win32-x64-57\binding.node'

转载 作者:行者123 更新时间:2023-12-01 15:55:44 32 4
gpt4 key购买 nike

当我运行“npm install”时,出现错误。

OS: Windows 10 npm: 6.2.0 node: v10.9.0



我已经尝试过 "npm install""npm cache verify" 之后但我无法解决它。
npm cache verify 
npm instal

npm ERR! path C:\Users\ipiag\products\tor\src\node_modules.node-sass.DELETE\vendor\win32-x64-57\binding.node npm ERR! code EPERM
npm ERR! errno -4048
npm ERR! syscall unlink
npm ERR! Error: EPERM: operation not permitted, unlink 'C:\Users\ipiag\products\tor\src\node_modules.node-sass.DELETE\vendor\win32-x64-57\binding.node' npm ERR! { [Error: EPERM: operation not permitted, unlink 'C:\Users\ipiag\products\tor\src\node_modules.node-sass.DELETE\vendor\win32-x64-57\binding.node'] npm ERR! cause:
npm ERR! { Error: EPERM: operation not permitted, unlink 'C:\Users\ipiag\products\tor\src\node_modules.node-sass.DELETE\vendor\win32-x64-57\binding.node' npm ERR! errno: -4048,
npm ERR! code: 'EPERM',
npm ERR! syscall: 'unlink',
npm ERR! path:
npm ERR!
'C:\Users\ipiag\products\tor\src\node_modules\.node-sass.DELETE\vendor\win32-x64-57\binding.node' }, npm ERR!
stack:
npm ERR! 'Error: EPERM: operation not permitted, unlink \'C:\Users\ipiag\products\tor\src\node_modules\.node-sass.DELETE\vendor\win32-x64-57\binding.node\'', npm ERR! errno: -4048,
npm ERR! code: 'EPERM',
npm ERR! syscall: 'unlink',
npm ERR! path:
npm ERR!
'C:\Users\ipiag\products\tor\src\node_modules\.node-sass.DELETE\vendor\win32-x64-57\binding.node', npm ERR! parent: 'tor' }
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 (though this is not recommended).

                                                                                                                                                                              npm ERR! A complete log of this run can be found in:                  

npm ERR!
C:\Users\ipiag\AppData\Roaming\npm-cache_logs\2019-06-12T02_32_33_624Z-debug.log

最佳答案

就我而言,我杀死了所有正在运行的 nodejs 进程并且它起作用了。

关于javascript - EPERM : operation not permitted, 取消链接 'C:\Users\**\node_modules\.node-sass.DELETE\vendor\win32-x64-57\binding.node',我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/56554646/

32 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com