node-github-download icon indicating copy to clipboard operation
node-github-download copied to clipboard

errno -4048 rename when download

Open yozawiratama opened this issue 8 years ago • 6 comments

i got error like this

https://nodeload.github.com/mistraljs/mistraljs/zip/master
{ [Error: EPERM: operation not permitted, rename 'C:\Users\LENOVO\Documents\node
js\mistraljs\1450151153815-43597033456899226\mistraljs-master' -> 'C:\Users\LENO
VO\Documents\nodejs\mistraljs']
  errno: -4048,
  code: 'EPERM',
  syscall: 'rename',
  path: 'C:\\Users\\LENOVO\\Documents\\nodejs\\mistraljs\\1450151153815-43597033
456899226\\mistraljs-master',
  dest: 'C:\\Users\\LENOVO\\Documents\\nodejs\\mistraljs' }
exec: use child_process.execFile instead

how to solve this?

yozawiratama avatar Dec 15 '15 03:12 yozawiratama

have you been solve this problem?I got this trubble too.

levoLee avatar Dec 13 '16 03:12 levoLee

I have the same issue, do you found any solution ?

general03 avatar Jul 28 '17 13:07 general03

Same issue

thEpisode avatar Mar 17 '18 04:03 thEpisode

Still a problem for me, I found it was happening because the destination where it wanted to move unzipped files already existed.

ghost avatar May 29 '18 18:05 ghost

I am facing the same issue. Did any of you have resolve it ? @jermainerf in my case nothing is downloaded. @jprichardson have you any plan ?

liyokuna avatar Aug 12 '19 22:08 liyokuna

I ran into this as well and the problem is the way that this creates a temporary dir.

I solved this with this, sorry I did not do a patch:

github-download.zip

kgerlich avatar Mar 21 '20 12:03 kgerlich