Ask questionstest: “EXDEV: cross-device link not permitted"
Got the critical error "EXDEV: cross-device link not permitted" on
npm run test .
npm run test.
Using fs.rename for moving files has some limitation.
One of these is that does not handle moving files between different mounted filesystems. see: https://stackoverflow.com/questions/43206198/what-does-the-exdev-cross-device-link-not-permitted-error-mean .
Replace fs.rename with copy and then remove of the source file.
As I'm currently working on a PR addressing #312 I will include this bugfix in the same PR.
Answer questions ofrobots
This should have been fixed by 0f70ffc6.
Related questionsNo questions were found.