Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot output to different mount #60

Closed
popey456963 opened this issue Sep 12, 2020 · 1 comment
Closed

Cannot output to different mount #60

popey456963 opened this issue Sep 12, 2020 · 1 comment
Labels
bug Something isn't working

Comments

@popey456963
Copy link

Rename fails if the output directory is not on the same hard drive as the current working directory. Here, /tmp/ is mounted to a different location as CWD:

carbon-now -h /tmp/tmp-31437-GSsSEGSH3nB0/code.js38fb969f-f483-496f-9b6c-5044718d76cc -t 38fb969f-f483-496f-9b6c-5044718d76cc

And it fails with:

5|web-file-uploader  | { [Error: EXDEV: cross-device link not permitted, rename '6b0c2b9e-842c-411f-a1b0-bed36024fc8f.png' -> '/tmp/tmp-31437-GSsSEGSH3nB0/code.js6b0c2b9e-842c-411f-a1b0-bed36024fc8f.png']
5|web-file-uploader  |   errno: -18,
5|web-file-uploader  |   code: 'EXDEV',
5|web-file-uploader  |   syscall: 'rename',
5|web-file-uploader  |   path: '6b0c2b9e-842c-411f-a1b0-bed36024fc8f.png',
5|web-file-uploader  |   dest:
5|web-file-uploader  |    '/tmp/tmp-31437-GSsSEGSH3nB0/code.js6b0c2b9e-842c-411f-a1b0-bed36024fc8f.png' }
@mixn mixn added the bug Something isn't working label Nov 12, 2020
@mixn mixn mentioned this issue Feb 6, 2023
26 tasks
@mixn
Copy link
Owner

mixn commented May 12, 2023

As I’m finalizing the huge v2 release, I’ve decided to run a small beta of it. 🙂 This issue is fixed in v2.

To install the v2 beta run

npm i carbon-now-cli@beta -g

Docs 🚀 for v2 can be found here. 🙂 There are tons of new features and breaking changes, so make sure to re-read the docs if you’ve read them previously.

Happy testing and using!
v2 will officially drop any day now. 🥳

@mixn mixn closed this as completed May 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants