gongzhiyongandClaude Sonnet 4.6 0dd9216720
Deploy LangGraph Server to Azure Web App / build-and-deploy (push) Failing after 27s
Deploy LangGraph UI to Azure Static Web Apps / build-and-deploy (push) Failing after 40s
fix: add @langchain/langgraph-api as direct dependency for production mode
server.ts uses createRequire to resolve @langchain/langgraph-api at startup.
With pnpm, indirect dependencies are not hoisted to node_modules/@langchain/,
causing "Cannot find module" error and container exit code 1 on Azure.

Adding it as an explicit dependency ensures pnpm creates the direct symlink.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-12 22:41:58 +08:00
S
Description
No description provided
17 MiB
Languages
TypeScript 98%
CSS 1.1%
JavaScript 0.6%
Dockerfile 0.1%