Skip to content
This repository has been archived by the owner on Aug 11, 2022. It is now read-only.

code EPERM errno -4048 syscall Unlink? #20438

Open
1 of 5 tasks
Rob21894 opened this issue Apr 25, 2018 · 0 comments
Open
1 of 5 tasks

code EPERM errno -4048 syscall Unlink? #20438

Rob21894 opened this issue Apr 25, 2018 · 0 comments

Comments

@Rob21894
Copy link

Rob21894 commented Apr 25, 2018

I'm opening this issue because:

  • npm is crashing.
  • npm is producing an incorrect install.
  • npm is doing something I don't understand.
  • npm is producing incorrect or undesirable behavior.
  • Other (see below for feature requests):

What's going wrong?

When running npm publish dist I am getting a ton of errors "EPRM" and have no idea what it is or how to resolve it :(

What is this issue? and why is it accruing? it is listing these package.thz files but I have no idea what it's trying to look for

I am running as admin and am logged into npm

supporting information:

npm ERR! path C:\Users\ROBERT1\AppData\Local\Temp\npm-8292-e6070aeb\tmp\fromDir-cd097c71\package.tgz
npm ERR! code EPERM
npm ERR! errno -4048
npm ERR! syscall unlink
npm ERR! Error: EPERM: operation not permitted, unlink 'C:\Users\ROBERT
1\AppData\Local\Temp\npm-8292-e6070aeb\tmp\fromDir-cd097c71\package.tgz'
npm ERR! { Error: EPERM: operation not permitted, unlink 'C:\Users\ROBERT1\AppData\Local\Temp\npm-8292-e6070aeb\tmp\fromDir-cd097c71\package.tgz'
npm ERR! cause:
npm ERR! { Error: EPERM: operation not permitted, unlink 'C:\Users\ROBERT
1\AppData\Local\Temp\npm-8292-e6070aeb\tmp\fromDir-cd097c71\package.tgz'
npm ERR! errno: -4048,
npm ERR! code: 'EPERM',
npm ERR! syscall: 'unlink',
npm ERR! path: 'C:\Users\ROBERT1\AppData\Local\Temp\npm-8292-e6070aeb\tmp\fromDir-cd097c71\package.tgz' },
npm ERR! isOperational: true,
npm ERR! stack: 'Error: EPERM: operation not permitted, unlink 'C:\Users\ROBERT
1\AppData\Local\Temp\npm-8292-e6070aeb\tmp\fromDir-cd097c71\package.tgz'',
npm ERR! errno: -4048,
npm ERR! code: 'EPERM',
npm ERR! syscall: 'unlink',
npm ERR! path: 'C:\Users\ROBERT~1\AppData\Local\Temp\npm-8292-e6070aeb\tmp\fromDir-cd097c71\package.tgz' }
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\RobertWebb\AppData\Roaming\npm-cache_logs\2018-04-25T15_33_47_835Z-debug.log

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant