惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

云风的 BLOG
云风的 BLOG
Blog — PlanetScale
Blog — PlanetScale
博客园 - 【当耐特】
博客园_首页
The GitHub Blog
The GitHub Blog
月光博客
月光博客
Hugging Face - Blog
Hugging Face - Blog
有赞技术团队
有赞技术团队
博客园 - 三生石上(FineUI控件)
D
Docker
Stack Overflow Blog
Stack Overflow Blog
WordPress大学
WordPress大学
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
Apple Machine Learning Research
Apple Machine Learning Research
Vercel News
Vercel News
酷 壳 – CoolShell
酷 壳 – CoolShell
雷峰网
雷峰网
小众软件
小众软件
I
InfoQ
A
About on SuperTechFans
T
The Blog of Author Tim Ferriss
S
SegmentFault 最新的问题
Microsoft Azure Blog
Microsoft Azure Blog
博客园 - Franky

LangChain Forum - Topics tagged cloud

Feature Request: Dgraph Integration for LangGraph LangGraph orchestration Problem Langchain model providing adapters Experiment table not showing cost breakdown & own metadata Best practices for self-hosting LangGraph Server OSS without LangGraph keys Dynamically Enabling/Disabling Graphs in a LangGraph Server at Runtime LangGraph thread copy can take 12+ minutes: recommended production pattern? The x402 illusion: Is advertising dead in the age of agents? Unable to delete runs from annotation queue Support “less than” conditions for Run Count alerts RuntimeError: Cannot patch execution_info before it has been set on LangGraph Cloud LangSmith Cloud Deployment Intermittent Issue Unexpected latency in minimal Deep Agent setup (create_deep_agent) + confusing @traceable runs PollerCompletionQueue._handle_events BlockingIOError spam in LangGraph Cloud logs Production deployment health check fails (600s timeout) — Development works with identical code Checkpoint cleanup Bulk exporting trace data delays Langchain core/traces conflict after deploying to aws Langsmith Stream Issues Postgres database size in LangSmith deployment How to use another model in the langsmith Agent Builder UI? Bug: Langsmith Dataset examples wiped from 'latest' Created an awesome agent using the agent builder, what's next? Langsmith API Key in langchain react sdk useStream Help deploying createDeepAgent based agent on LangGraph Cloud Cannot log in to Langsmith EU LangSmith tracing: runs dropped over 20MB + missing image previews after attachment chunking # [Bug/Question] Runtime Context Not Working in Deployed LangSmith Agent - Headers and Config Stripped Langraph State Not Updating Deployment Error: OpenAIEmbedding Attribute Error
LangGraph Deployment Error: Module Not Found
shawon-majid · 2025-12-05 · via LangChain Forum - Topics tagged cloud

I am getting this error, while deploying project to langgraph.

05/12/2025, 00:10:20

[ERROR] Node.js v20.19.6

05/12/2025, 00:10:20

[ERROR] }

05/12/2025, 00:10:20

[ERROR]   code: 'ERR_MODULE_NOT_FOUND'

05/12/2025, 00:10:20

[ERROR]     at async resolve (file:///api/langgraph_api/js/src/load.hooks.mjs:53:22) {

05/12/2025, 00:10:20

[ERROR]     at async nextResolve (node:internal/modules/esm/hooks:864:22)

05/12/2025, 00:10:20

[ERROR]     at async resolve (file:///usr/lib/node_modules/tsx/dist/esm/index.mjs?1764871820470:2:5355)

05/12/2025, 00:10:20

[ERROR]     at resolveTsPaths (file:///usr/lib/node_modules/tsx/dist/esm/index.mjs?1764871820470:2:4984)

05/12/2025, 00:10:20

[ERROR]     at resolveDirectory (file:///usr/lib/node_modules/tsx/dist/esm/index.mjs?1764871820470:2:4243)

05/12/2025, 00:10:20

[ERROR]     at resolveBase (file:///usr/lib/node_modules/tsx/dist/esm/index.mjs?1764871820470:2:3744)

05/12/2025, 00:10:20

[ERROR]     at nextResolve (node:internal/modules/esm/hooks:864:28)

05/12/2025, 00:10:20

[ERROR]     at defaultResolve (node:internal/modules/esm/resolve:1188:11)

05/12/2025, 00:10:20

[ERROR]     at moduleResolve (node:internal/modules/esm/resolve:946:18)

05/12/2025, 00:10:20

[ERROR]     at packageResolve (node:internal/modules/esm/resolve:873:9)

05/12/2025, 00:10:20

[ERROR] Error [ERR_MODULE_NOT_FOUND]: Cannot find package '@langchain/langgraph' imported from /deps/indigo-nx/apps/assistant-chat/src/assistant/graph.ts

My langgraph.json

{

    "node_version": "20",

"dockerfile_lines": [],

"dependencies": [

"."

    ],

"graphs": {

"assistant": "./src/assistant/graph.ts:assistant"

    },

"env": ".env"

}

and my package.json is the following:

{

  "name": "assistant-chat",

"version": "1.0.0",

"description": "",

"main": "index.js",

"scripts": {

"test": "echo \"Error: no test specified\" && exit 1",

"dev": "pnpm dlx @langchain/langgraph-cli dev"

  },

"keywords": [],

"author": "",

"license": "ISC",

"packageManager": "pnpm@10.19.0",

"dependencies": {

"@langchain/anthropic": "^1.1.3",

"@langchain/core": "^1.1.1",

"@langchain/google-genai": "^2.0.1",

"@langchain/google-vertexai": "^2.0.1",

"@langchain/langgraph": "^1.0.2",

"@langchain/openai": "^1.1.3",

"@langchain/xai": "^1.0.2",

"langchain": "1.1.2",

"mongodb": "^7.0.0",

"zod": "4.1.0"

  }

}

How to resolve this?

it works locally with this command:
pnpm dlx @langchain/langgraph-cli dev

but it’s not getting deployed