You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to rebuild my dependencies (including [email protected]) with npm rebuild on Windows, and I get this error:
Error: EPERM: operation not permitted, unlink 'C:\myrepo\node_modules\node\bin\node.exe'
at Object.unlinkSync (fs.js:951:3)
at linkSync (C:\myrepo\node_modules\node-bin-setup\index.js:47:8)
at ChildProcess.<anonymous> (C:\myrepo\node_modules\node-bin-setup\index.js:31:5)
at ChildProcess.emit (events.js:189:13)
at maybeClose (internal/child_process.js:970:16)
at Process.ChildProcess._handle.onexit (internal/child_process.js:259:5)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] preinstall: `node installArchSpecificPackage`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] preinstall script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
This might only be an issue on Windows, which does not allow modifications to the executable of a currently running process. I think Linux is perfectly happy to do allow it.
The text was updated successfully, but these errors were encountered:
I'm trying to rebuild my dependencies (including
[email protected]
) withnpm rebuild
on Windows, and I get this error:This might only be an issue on Windows, which does not allow modifications to the executable of a currently running process. I think Linux is perfectly happy to do allow it.
The text was updated successfully, but these errors were encountered: