EXDEV: cross-device link not permitted

See original GitHub issue

I’m facing this issue with Atom. Any chances to fix this ?

Error: EXDEV: cross-device link not permitted, rename '/home/jo/github/markdown-to-pdf/_temp.html' -> '/tmp/debug.html'
    at Object.renameSync (fs.js:591)
    at writeFile.then.then.then.then.then.then (/home/jo/github/markdown-to-pdf/node_modules/mdpdf/src/index.js:199)
    at tryCatcher (/home/jo/github/markdown-to-pdf/node_modules/bluebird/js/release/util.js:16)
    at Promise._settlePromiseFromHandler (/home/jo/github/markdown-to-pdf/node_modules/bluebird/js/release/promise.js:547)
    at Promise._settlePromise (/home/jo/github/markdown-to-pdf/node_modules/bluebird/js/release/promise.js:604)
    at Promise._settlePromise0 (/home/jo/github/markdown-to-pdf/node_modules/bluebird/js/release/promise.js:649)
    at Promise._settlePromises (/home/jo/github/markdown-to-pdf/node_modules/bluebird/js/release/promise.js:729)
    at _drainQueueStep (/home/jo/github/markdown-to-pdf/node_modules/bluebird/js/release/async.js:93)
    at _drainQueue (/home/jo/github/markdown-to-pdf/node_modules/bluebird/js/release/async.js:86)
    at Async._drainQueues (/home/jo/github/markdown-to-pdf/node_modules/bluebird/js/release/async.js:102)
    at Async.drainQueues (/home/jo/github/markdown-to-pdf/node_modules/bluebird/js/release/async.js:15)

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
BlueHatbRitcommented, Mar 10, 2020

This has been fixed in 2.1.1 🎊

1reaction
BlueHatbRitcommented, Mar 9, 2020

Thanks for the added detail here @travs, the PR looks good to me. I just want to spend a few minutes giving it a good test in a few different scenarios to check everything is ok. If that’s all good then I’ll roll this into a patch release.

Read more comments on GitHub >

github_iconTop Results From Across the Web

What does the "EXDEV: cross-device link not permitted" error ...
It sounds like you're trying to rename a file across "device" (partition) boundaries. Say that /tmp is a different partition than / ....
Read more >
EXDEV: cross-device link not permitted, rename #106 - GitHub
A user of my electron app is getting this error on Windows: See mifi/lossless-cut#292 It is renaming from one drive to the same...
Read more >
Learning from using Docker and Node - EXDEV Error
EXDEV : cross-device link not permitted ... You will probably experience this error. Being more specific, this errors happens whenever NPM tries ...
Read more >
Renaming Errors?! | Plz Help : r/Tdarr - Reddit
[Error: EXDEV: cross-device link not permitted, rename '/temp/FILE.mkv' -> '/mnt/media/shows/FILE.mkv']. Is this a permissions issue or ...
Read more >
Error: EXDEV: cross-device link not permitted, rename '/tmp ...
Coding example for the question Error: EXDEV: cross-device link not permitted, rename '/tmp/ on Ubuntu 16.04 LTS-postgresql.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found