requirejs / r.js

Runs RequireJS in Node and Rhino, and used to run the RequireJS optimizer

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

rename xxx.js-temp to xxx.js error

CatWithWings opened this issue · comments

in windows10 :
I have ran
r.js.cmd -o tools/build_win.js
Sometimes it's success, but sometime it has a error such as:
Error: EPERM: operation not permitted, rename 'XXX.js-temp' -> 'XXX.js'
at Object.fs.renameSync (fs.js:774:18)

I don't know what happend