cross-device link not permitted
More of a big deal,
convex@0.3.x
doesn't seem to work with an encrypted home directory (at least I'm guessing that's what's causing this error for me - see thread) 😢11 Replies
@sujayakar ^
ah yep, the cross file system rename is what’s causing this. we first stage changes to the local filesystem in a temporary directory and then swap them in, so file system watchers like
next dev
don’t observe partial versions of files.
however, renames are only allowed within a filesystem, so ideally we should use a temporary directory within the same filesystem as your repo. we’ll fix this in our next release!Awesome, thanks! I'll wait until the next release to upgrade then 👍
(I'm seeing this in deploys on Netlify as well, via
npx convex codegen
)ah interesting @RJ ! can you paste the error you’re seeing?
I'm also seeing this on Convex 0.5, any updates?
hi @Gonza ! ah interesting, thanks for the report. can you paste the error backtrace you're seeing in the terminal (like the lines starting with
Error: EXDEV: cross-device link not permitted
)?Sorry, seems like I had a cache issue on Netlify, I re-ran it with the 'clean cache' option (or sth like that) and it's working now, thanks!
no worries! glad it worked out.