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
Z:> npm install electron --save-dev
npm error code EPERM
npm error syscall mkdir
npm error path Z:
npm error errno -4048
npm error Error: EPERM: operation not permitted, mkdir 'Z:'
npm error at async mkdir (node:internal/fs/promises:853:10)
npm error at async Arborist.reify nvm\v23.10.0\node_modules\npm\node_modules@npmcli\arborist\lib\arborist\reify.js:126:7)
npm error at async Install.exec
\nvm\v23.10.0\node_modules\npm\lib\commands\install.js:149:5)
npm error at async Npm.exec (nvm\v23.10.0\node_modules\npm\lib\npm.js:208:9)
npm error at async module.exports (\nvm\v23.10.0\node_modules\npm\lib\cli\entry.js:67:5) {
npm error errno: -4048,
npm error code: 'EPERM',
npm error syscall: 'mkdir',
npm error path: 'Z:\'
npm error }
npm error
npm error The operation was rejected by your operating system.
npm error It's possible that the file was already in use (by a text editor or antivirus),
npm error or that you lack permissions to access it.
npm error
npm error If you believe this might be a permissions issue, please double-check the
npm error permissions of the file and its containing directories, or try running
npm error the command again as root/Administrator.
Z: is a ramdrive(ImDisk).
Obviously making directories and downloading files should not fail and in general it does work. I can also use the command on a normal drive. The FS is NTFS. It does have some issues with some programs here and there(it is rare but every once in a while something doesn't quite work... typically related to the recycle bin).
Expected Behavior
It should work. The ramdrive should not interfer with standard file operations.
Steps To Reproduce
Install ImDisk RamDisk, use npm install from it.
Environment
; node version = v23.10.0
; npm local prefix = Z:
; npm version = 11.2.0
; cwd = Z:\
The text was updated successfully, but these errors were encountered:
Is there an existing issue for this?
This issue exists in the latest npm version
Current Behavior
Z:> npm install electron --save-dev
npm error code EPERM
npm error syscall mkdir
npm error path Z:
npm error errno -4048
npm error Error: EPERM: operation not permitted, mkdir 'Z:'
npm error at async mkdir (node:internal/fs/promises:853:10)
npm error at async Arborist.reify nvm\v23.10.0\node_modules\npm\node_modules@npmcli\arborist\lib\arborist\reify.js:126:7)
npm error at async Install.exec
\nvm\v23.10.0\node_modules\npm\lib\commands\install.js:149:5)
npm error at async Npm.exec (nvm\v23.10.0\node_modules\npm\lib\npm.js:208:9)
npm error at async module.exports (\nvm\v23.10.0\node_modules\npm\lib\cli\entry.js:67:5) {
npm error errno: -4048,
npm error code: 'EPERM',
npm error syscall: 'mkdir',
npm error path: 'Z:\'
npm error }
npm error
npm error The operation was rejected by your operating system.
npm error It's possible that the file was already in use (by a text editor or antivirus),
npm error or that you lack permissions to access it.
npm error
npm error If you believe this might be a permissions issue, please double-check the
npm error permissions of the file and its containing directories, or try running
npm error the command again as root/Administrator.
Z: is a ramdrive(ImDisk).
Obviously making directories and downloading files should not fail and in general it does work. I can also use the command on a normal drive. The FS is NTFS. It does have some issues with some programs here and there(it is rare but every once in a while something doesn't quite work... typically related to the recycle bin).
Expected Behavior
It should work. The ramdrive should not interfer with standard file operations.
Steps To Reproduce
Install ImDisk RamDisk, use npm install from it.
Environment
; node version = v23.10.0
; npm local prefix = Z:
; npm version = 11.2.0
; cwd = Z:\
The text was updated successfully, but these errors were encountered: