amppA
Convex Community10mo ago
25 replies
ampp

cross-device link not permitted

I for the life of me cant get past this error.
https://docs.convex.dev/cli/local-deployments local deployment (BETA)
⠋ Reinitializing project 37186...

Temporary directory '/tmp' and project directory 'convex/_generated' are on different filesystems.
  If you're running into errors with other tools watching the project directory, override the temporary directory location with the CONVEX_TMPDIR environment variable.
✔ Reinitialized project 37186
✔ Started running a deployment locally at http://127.0.0.1:3210 and saved its name as CONVEX_DEPLOYMENT to .env.local

Write your Convex functions in convex/
Give us feedback at https://convex.dev/community or support@convex.dev
View the Convex dashboard at https://dashboard.convex.dev/d/local-ludumvitae-lvlocal_37186-1

✖ Error: Unable to start push to http://127.0.0.1:3210
Error fetching POST  http://127.0.0.1:3210/api/deploy2/start_push 400 Bad Request: InvalidExternalModules: Hit an error while pushing:
Loading the pushed modules encountered the following error:
EXDEV: cross-device link not permitted, rename '/tmp/.tmpOSWGnt/build_deps/node_modules.zip' -> '/home/USER/.convex/convex-backend-state/PROJECT_ID/convex_local_storage/modules/70ce4290-4da0-4929-a834-0fe25c255609.blob'

This is what i get if i run local dev, cloud is fine.
I had gotten rid of my CONVEX_TMPDIR setting temporarily (its been on there so long i forgot why i had it)
I'm not sure its related as i was having issues with switching between various local backends from different repos.
I dont know if i had CONVEX_TMPDIR locally set somewhere.
It shows
I've tried new projects
Added it to .env.local
I deleted temp
i deleted ./convex
Reconfigured countless times.
nvm use 18
etc etc
Was this page helpful?