rosshinkley / nightmare-inline-download

36 stars 8 forks source link

EXDEV: cross-device link not permitted #17

Open jamesst20 opened 6 years ago

jamesst20 commented 6 years ago

Basically, this is the same issue as this pull request fix for nightmare-download-manager https://github.com/rosshinkley/nightmare-download-manager/pull/10

Error: EXDEV: cross-device link not permitted, rename '/root/DisplayFactureForm.pdf' -> 'public/bills/videotron/videotron-1530121721.pdf'
web_1    |     at Object.fs.renameSync (fs.js:772:18)
web_1    |     at DownloadItem.eval (eval at <anonymous> (/usr/src/app/node_modules/nightmare/lib/runner.js:614:14), <anonymous>:43:22)
web_1    |     at emitTwo (events.js:125:13)
web_1    |     at DownloadItem.emit (events.js:213:7)