uv file copy issue: EXDEV: cross-device link not permitted. Trying to launch python server from @langchain/langgraph-cli #379

Closed
opened 2026-02-15 18:16:21 -05:00 by yindo · 0 comments
Owner

Originally created by @christymanthara on GitHub (Nov 21, 2025).

Checked other resources

  • I added a very descriptive title to this issue.
  • I searched the LangGraph.js documentation with the integrated search.
  • I used the GitHub search to find a similar question and didn't find it.
  • I am sure that this is a bug in LangGraph.js rather than my code.
  • The bug is not resolved by updating to the latest stable version of LangGraph (or the specific integration package).

Example Code

cd agent.

//agent directory contains the python code for the langraph agent.

launch the python file by.
npx @langchain/langgraph-cli dev --port 8123 --no-browser

Error Message and Stack Trace (if applicable)

error: ▪ Error: EXDEV: cross-device link not permitted, rename 'C:\Users\CHRIST~1\AppData\Local\Temp\uv-jCqeX4\uv.exe' -> 'F:\ML+ReactModelDeployment\Trae_build\Copilotkit\testui2\node_modules@langchain\langgraph-cli\dist\cli.uv\0.5.20\uv.exe'
at async Object.rename (node:internal/fs/promises:783:10)
at async downloadAndExtract (file:///F:/ML+ReactModelDeployment/Trae_build/Copilotkit/testui2/node_modules/@langchain/langgraph-cli/dist/cli/dev.python.mjs:80:9)
at async getUvBinary (file:///F:/ML+ReactModelDeployment/Trae_build/Copilotkit/testui2/node_modules/@langchain/langgraph-cli/dist/cli/dev.python.mjs:100:16)
at async spawnPythonServer (file:///F:/ML+ReactModelDeployment/Trae_build/Copilotkit/testui2/node_modules/@langchain/langgraph-cli/dist/cli/dev.python.mjs:106:18)
at async launchServer (file:///F:/ML+ReactModelDeployment/Trae_build/Copilotkit/testui2/node_modules/@langchain/langgraph-cli/dist/cli/dev.mjs:120:25)

Description

The aim is to use the langgraph-cli to launch the python agent.

Fails with the error as given above.

System Info

Node version: v22.13.1
Operating system: win32 x64
Package manager: npm
Package manager version: N/A

Originally created by @christymanthara on GitHub (Nov 21, 2025). ### Checked other resources - [x] I added a very descriptive title to this issue. - [x] I searched the LangGraph.js documentation with the integrated search. - [x] I used the GitHub search to find a similar question and didn't find it. - [x] I am sure that this is a bug in LangGraph.js rather than my code. - [x] The bug is not resolved by updating to the latest stable version of LangGraph (or the specific integration package). ### Example Code cd agent. //agent directory contains the python code for the langraph agent. launch the python file by. npx @langchain/langgraph-cli dev --port 8123 --no-browser ### Error Message and Stack Trace (if applicable) error: ▪ Error: EXDEV: cross-device link not permitted, rename 'C:\Users\CHRIST~1\AppData\Local\Temp\uv-jCqeX4\uv.exe' -> 'F:\ML+ReactModelDeployment\Trae_build\Copilotkit\testui2\node_modules\@langchain\langgraph-cli\dist\cli\.uv\0.5.20\uv.exe' at async Object.rename (node:internal/fs/promises:783:10) at async downloadAndExtract (file:///F:/ML+ReactModelDeployment/Trae_build/Copilotkit/testui2/node_modules/@langchain/langgraph-cli/dist/cli/dev.python.mjs:80:9) at async getUvBinary (file:///F:/ML+ReactModelDeployment/Trae_build/Copilotkit/testui2/node_modules/@langchain/langgraph-cli/dist/cli/dev.python.mjs:100:16) at async spawnPythonServer (file:///F:/ML+ReactModelDeployment/Trae_build/Copilotkit/testui2/node_modules/@langchain/langgraph-cli/dist/cli/dev.python.mjs:106:18) at async launchServer (file:///F:/ML+ReactModelDeployment/Trae_build/Copilotkit/testui2/node_modules/@langchain/langgraph-cli/dist/cli/dev.mjs:120:25) ### Description The aim is to use the langgraph-cli to launch the python agent. Fails with the error as given above. ### System Info Node version: v22.13.1 Operating system: win32 x64 Package manager: npm Package manager version: N/A
yindo closed this issue 2026-02-15 18:16:21 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langchain-ai/langgraphjs#379