node-github-download
node-github-download copied to clipboard
errno -4048 rename when download
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?
have you been solve this problem?I got this trubble too.
I have the same issue, do you found any solution ?
Same issue
Still a problem for me, I found it was happening because the destination where it wanted to move unzipped files already existed.
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 ?
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: