js-workbench-customizer: can't make it working #3995
Unanswered
miroslavnavratil
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I tried to use js-workbench-customizer sample. But npm install ends up with an error claiming that a file can't be renamed. I checked that and the file in question does not exist at all.
npm WARN rollback Rolling back @npmcli/fs@2.1.2 failed (this is probably harmless): EPERM: operation not permitted, lstat 'D:\Mirek\SharePoint\TESTS\workbenchCustomizer\node_modules\npm\node_modules\node-gyp\node_modules@npmcli'
npm ERR! code EPERM
npm ERR! syscall rename
npm ERR! path D:\Mirek\SharePoint\TESTS\workbenchCustomizer\node_modules\npm\node_modules.node-gyp.DELETE\node_modules@npmcli
npm ERR! dest D:\Mirek\SharePoint\TESTS\workbenchCustomizer\node_modules\npm\node_modules\node-gyp\node_modules@npmcli
npm ERR! errno -4048
npm ERR! Error: EPERM: operation not permitted, rename 'D:\Mirek\SharePoint\TESTS\workbenchCustomizer\node_modules\npm\node_modules.node-gyp.DELETE\node_modules@npmcli' -> 'D:\Mirek\SharePoint\TESTS\workbenchCustomizer\node_modules\npm\node_modules\node-gyp\node_modules@npmcli'
npm ERR! [OperationalError: EPERM: operation not permitted, rename 'D:\Mirek\SharePoint\TESTS\workbenchCustomizer\node_modules\npm\node_modules.node-gyp.DELETE\node_modules@npmcli' -> 'D:\Mirek\SharePoint\TESTS\workbenchCustomizer\node_modules\npm\node_modules\node-gyp\node_modules@npmcli'] {
npm ERR! cause: [Error: EPERM: operation not permitted, rename 'D:\Mirek\SharePoint\TESTS\workbenchCustomizer\node_modules\npm\node_modules.node-gyp.DELETE\node_modules@npmcli' -> 'D:\Mirek\SharePoint\TESTS\workbenchCustomizer\node_modules\npm\node_modules\node-gyp\node_modules@npmcli'] {
npm ERR! errno: -4048,
npm ERR! code: 'EPERM',
npm ERR! syscall: 'rename',
npm ERR! path: 'D:\Mirek\SharePoint\TESTS\workbenchCustomizer\node_modules\npm\node_modules\.node-gyp.DELETE\node_modules\@npmcli',
npm ERR! dest: 'D:\Mirek\SharePoint\TESTS\workbenchCustomizer\node_modules\npm\node_modules\node-gyp\node_modules\@npmcli'
npm ERR! },
npm ERR! errno: -4048,
npm ERR! code: 'EPERM',
npm ERR! syscall: 'rename',
npm ERR! path: 'D:\Mirek\SharePoint\TESTS\workbenchCustomizer\node_modules\npm\node_modules\.node-gyp.DELETE\node_modules\@npmcli',
npm ERR! dest: 'D:\Mirek\SharePoint\TESTS\workbenchCustomizer\node_modules\npm\node_modules\node-gyp\node_modules\@npmcli',
npm ERR! parent: 'npm'
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\mirek\AppData\Roaming\npm-cache_logs\2023-07-25T11_20_35_423Z-debug.log
Beta Was this translation helpful? Give feedback.
All reactions