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

[Error] Unable to Build Langgraph Project #105

Closed
Toubat opened this issue Sep 8, 2024 · 2 comments
Closed

[Error] Unable to Build Langgraph Project #105

Toubat opened this issue Sep 8, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@Toubat
Copy link

Toubat commented Sep 8, 2024

Hi LangChain team,

I tried to connect my langgraph project to the desktop and got the following error which I don't fully understand:

docker.io/langchain/langgraph-api:3.11
Total reclaimed space: 0B
Total reclaimed space: 0B
Error response from daemon: a prune operation is already running
Total reclaimed space: 0B
Total reclaimed space: 0B
Total reclaimed space: 0B
Total reclaimed space: 0B
Total reclaimed space: 0B
services.langgraph-api.develop.watch: target is required for non-rebuild actions: invalid compose project
services.langgraph-api.develop.watch: target is required for non-rebuild actions: invalid compose project
services.langgraph-api.develop.watch: target is required for non-rebuild actions: invalid compose project
services.langgraph-api.develop.watch: target is required for non-rebuild actions: invalid compose project
Running "docker pull langchain/langgraph-api:3.11"
3.11: Pulling from langchain/langgraph-api
92c3b3500be6: Already exists
3bc0bb0f4836: Already exists
e1823f75652f: Already exists
8fe47198239e: Already exists
fd14ce64cb6c: Already exists
d4a2a581f5c0: Already exists
eb209c0c6fdc: Already exists
0599fb1e944e: Already exists
473ba7abe1c2: Already exists
978ab7fcbde9: Already exists
ed8d4b58bcf4: Already exists
bfdf8797cc59: Already exists
4f4fb700ef54: Already exists
Running "docker image prune -f --filter label=com.docker.compose.project=leetmock-monorepo-1f8cea0b1c672c518ffbfb3aac4f7b1c3bd64d105d750d8857186aba73c17175"
Running "docker image prune -f --filter label=com.docker.compose.project=leetmock-monorepo-1f8cea0b1c672c518ffbfb3aac4f7b1c3bd64d105d750d8857186aba73c17175"
Running "docker compose --project-directory /path/to/my/project/root --project-name leetmock-monorepo-1f8cea0b1c672c518ffbfb3aac4f7b1c3bd64d105d750d8857186aba73c17175 -f - up --remove-orphans --watch"
Digest: sha256:38f125ce2573d5077f75320d4beaef891d059f00ead1ba44f3df75f61aaa659b
Status: Downloaded newer image for langchain/langgraph-api:3.11
docker.io/langchain/langgraph-api:3.11
Total reclaimed space: 0B
Total reclaimed space: 0B
services.langgraph-api.develop.watch: target is required for non-rebuild actions: invalid compose project

and

Failed to start project my-project
Error invoking remote method 'up': ExecaError: Command failed with exit code 15: docker compose --project-directory /path/to/my/project/root --project-name my-project-8ceb1c672c518ffbfb3aa7b1c3bd64d105d750d8857186abc17175 -f - up --remove-orphans --watch

services.langgraph-api.develop.watch: target is required for non-rebuild actions: invalid compose project

After double-check, I found that my project works on both langgraph deployment and using the local CLI langgraph up, but fails on the langgraph desktop app. Do I need some additional steps for using the desktop app?

I also tried deleting all existing images, containers, builds, etc and re-run but seems getting the same error above. Is there any steps I'm missing?

Below is my project structuure:

.
├── agent-graph
│   └── agent_graph
├── agent-server
│   ├── agent_server
│   ├── logs
│   └── tests
├── client
│   ├── app
│   ├── components
│   ├── hooks
│   ├── lib
│   ├── node_modules
│   └── public
├── libs
│   └── libs
└── notebooks
├── langgraph.json
├── poetry.lock
├── .env
└── pyproject.toml

and here's my langgraph.json:

{
  "dockerfile_lines": [],
  "graphs": {
    "my-agent": "./agent-graph/agent_graph/agent.py:graph"
  },
  "env": ".env",
  "dependencies": ["./agent-graph", "./libs"]
}
@dqbd dqbd added the bug Something isn't working label Sep 9, 2024
@danmas0n
Copy link

Same issue here -- didn't change anything, just upgraded to the .20 build of LangGraph Studio, and I'm getting the errors above whereas it all worked pre-upgrade

@dqbd
Copy link
Collaborator

dqbd commented Sep 10, 2024

Hello! Sorry about the inconvenience, should be fixed in 0.0.21. If the issue still persists, will reopen the issue!

@dqbd dqbd closed this as completed Sep 10, 2024
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

3 participants