Convex CommunityCCConvex Community
Powered by
amppA
Convex Community•11mo 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'
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
Convex Community banner
Convex CommunityJoin
Join the Convex Discord! Explore Convex, the backend platform that keeps your app in sync.
15,010Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements
Recent Announcements
james

Hi @everyone with everything going on today I forgot to post on discord about our EU launch! We have a region in Dublin now! You can start using it immediately, even for folks on the free plan. https://news.convex.dev/we-finally-got-our-eu-visa/ Stay tuned for more regions but also stay tuned for more infra improvements where we improve latency for teams no matter where their servers are located. Just at the tip of the iceberg re all the optimizations we have lined up.

james · this hour

Wayne

Hi @everyone happy Monday. Components Authoring [Challenge](https://www.convex.dev/components/challenge) updates! Meet the second batch of community-approved components **Firecrawl Scrape **- Scrape any URL and get clean markdown, HTML, screenshots, or structured JSON - with durable caching and reactive queries. https://www.convex.dev/components/firecrawl-scrape Built by: Gitmaxd **Durable Agents **- A Convex component for building durable AI agents with an async tool loop. https://www.convex.dev/components/durable-agents Built by: Siegfried **Convex Debouncer** - A server-side debouncing component for debouncing expensive operations like LLM calls, metrics computation, or any heavy processing that should only run after a period of inactivity. https://www.convex.dev/components/debouncer Built by: Ilya **DatabaseChat **- A Convex component for adding natural language database queries to your app. https://www.convex.dev/components/database-chat Built by: Nick **Transloadit** - A Convex component for creating Transloadit Assemblies, handling resumable uploads with status, and persisting status/results in Convex. https://www.convex.dev/components/transloadit Built by: Kvz **Loops** - A Convex component for integrating with Loops.so email marketing platform. https://www.convex.dev/components/loops Built by: Bobby The [challenge](https://www.convex.dev/components/challenge) is now ongoing, so keep building, and we'll keep rewarding. Thanks, everyone!

Wayne · 2w ago

Liz C

Hi everyone! Have you ever wanted to get your hands on some convex swag? Well you're in luck! We just launched our Convex swag store. Check it out here ---> https://store.convex.dev/

Liz C · 3w ago

Similar Threads

Sketchy Link
FleetAdmiralJakob 🗕 🗗 🗙FFleetAdmiralJakob 🗕 🗗 🗙 / support-community
2y ago
Activation DeniedWe are not able to activate your device.
PietroPPietro / support-community
6mo ago
Visiting a convex.link url is not working
MartinMMartin / support-community
11mo ago
cross-platform build script problem fixed
Convex BotCConvex Bot / support-community
2y ago