mirror of
https://github.com/langchain-ai/create-agent-chat-app.git
synced 2026-07-01 21:24:02 -04:00
[GH-ISSUE #33] Install @langchain/langgraph-checkpoint and run agent server will cause a js sytax error #15
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @wangfupeng1988 on GitHub (Sep 8, 2025).
Original GitHub issue: https://github.com/langchain-ai/create-agent-chat-app/issues/33
hi,
I use
npx create-agent-chat-app@latestto create a langgraph app, then runnpm run dev, it works fine.Then I run
npm i @langchain/langgraph-checkpointinapps/agentsfolder, didn't change code, and then runnpm run devagain.I open browser and seed a message to test, error like this
this is the logs in my node tormial:
Then I run
npm uninstall @langchain/langgraph-checkpointandnpm run devagain, it works fine again.Installing
@langchain/langgraph-checkpoint-mongodband@langchain/langgraph-checkpoint-postgresalso cause the same error.I stuck here for two days and have not find a way to resolve it, hop your reply and thx very much.
@wangfupeng1988 commented on GitHub (Sep 8, 2025):
I got it.
I search
"@langchain/langgraph-checkpoint": "^0.0.17"in the package-lock.json file, the version0.0.17is an old version.So I have to install this version, it works.
Install @langchain/langgraph-checkpoint and run agent server will cause a js sytax errorto [GH-ISSUE #33] Install @langchain/langgraph-checkpoint and run agent server will cause a js sytax error