[GH-ISSUE #2053] JS CLI up command runs forever #261

Open
opened 2026-02-17 17:19:30 -05:00 by yindo · 0 comments
Owner

Originally created by @dstone42 on GitHub (Dec 31, 2025).
Original GitHub issue: https://github.com/langchain-ai/docs/issues/2053

From this website, I downloaded an example typescript/Next front-end and a few of the example agents. I took pieces from them and constructed my own agent. I got to the point where I wanted to deploy a preliminary version of the app. The agents service didn't have a start command in the package.json, so I added this: npx @langchain/langgraph-cli up --config ../../langgraph.json --port ${PORT:-8123} --wait" to start the server. It downloads the langgraph-api docker image and starts a docker compose. The compose included pnpm i --frozen-lockfile. It was taking a long time, so I worked on other things while I waited and came back to it later. I got back to it 5 hours later, and it was still running. That seemed very strange, but it was still building an image, so there wasn't really anything I could connect to to check the status. After some manual testing, I realized that pnpm i --frozen-lockfile requires a user input of y or n, so it was just waiting for my input the whole time. It was not taking that long to load. You need to fix this dockerfile creation in your CLI, so that it will build the container. I fixed it in my own dockerfile by adding ENV CI=true before the install line. Hope you can fix this so nobody else waits longer than they need to for this image that will never build.

Originally created by @dstone42 on GitHub (Dec 31, 2025). Original GitHub issue: https://github.com/langchain-ai/docs/issues/2053 From this [website](https://docs.langchain.com/oss/python/langgraph/ui#quick-start), I downloaded an example typescript/Next front-end and a few of the example agents. I took pieces from them and constructed my own agent. I got to the point where I wanted to deploy a preliminary version of the app. The agents service didn't have a start command in the package.json, so I added this: ```npx @langchain/langgraph-cli up --config ../../langgraph.json --port ${PORT:-8123} --wait"``` to start the server. It downloads the langgraph-api docker image and starts a docker compose. The compose included ```pnpm i --frozen-lockfile```. It was taking a long time, so I worked on other things while I waited and came back to it later. I got back to it 5 hours later, and it was still running. That seemed very strange, but it was still building an image, so there wasn't really anything I could connect to to check the status. After some manual testing, I realized that ```pnpm i --frozen-lockfile``` requires a user input of y or n, so it was just waiting for my input the whole time. It was not taking that long to load. You need to fix this dockerfile creation in your CLI, so that it will build the container. I fixed it in my own dockerfile by adding ```ENV CI=true``` before the install line. Hope you can fix this so nobody else waits longer than they need to for this image that will never build.
yindo added the external label 2026-02-17 17:19:30 -05:00
yindo changed title from JS CLI up command runs forever to [GH-ISSUE #2053] JS CLI up command runs forever 2026-06-05 17:25:56 -04:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langchain-ai/docs#261