Module not found: Package path ./runnables/graph is not exported from package #105

Closed
opened 2026-02-15 17:15:49 -05:00 by yindo · 1 comment
Owner

Originally created by @ghost on GitHub (Oct 3, 2024).

Following set up instructions - https://langchain-ai.github.io/langgraphjs/how-tos/define-state/#setup

Module not found: Package path ./runnables/graph is not exported from package ~/Documents/ai-nextjs-gen-ui-agents copy/node_modules/.pnpm/@langchain+langgraph@0.2.11_@langchain+core@0.2.6_langchain@0.2.3_ignore@5.3.1_openai@4.64.0__qhdr6jevfhgehslnz23imeugba/node_modules/@langchain/core (see exports field in ~/Documents/ai-nextjs-gen-ui-agents copy/node_modules/.pnpm/@langchain+langgraph@0.2.11_@langchain+core@0.2.6_langchain@0.2.3_ignore@5.3.1_openai@4.64.0__qhdr6jevfhgehslnz23imeugba/node_modules/@langchain/core/package.json)

"@langchain/community": "^0.3.4",
"@langchain/core": "^0.3.6",
"@langchain/langgraph": "^0.2.11",

If I comment out Annotation.Root my page loads.

Originally created by @ghost on GitHub (Oct 3, 2024). Following set up instructions - https://langchain-ai.github.io/langgraphjs/how-tos/define-state/#setup Module not found: Package path ./runnables/graph is not exported from package ~/Documents/ai-nextjs-gen-ui-agents copy/node_modules/.pnpm/@langchain+langgraph@0.2.11_@langchain+core@0.2.6_langchain@0.2.3_ignore@5.3.1_openai@4.64.0__qhdr6jevfhgehslnz23imeugba/node_modules/@langchain/core (see exports field in ~/Documents/ai-nextjs-gen-ui-agents copy/node_modules/.pnpm/@langchain+langgraph@0.2.11_@langchain+core@0.2.6_langchain@0.2.3_ignore@5.3.1_openai@4.64.0__qhdr6jevfhgehslnz23imeugba/node_modules/@langchain/core/package.json) "@langchain/community": "^0.3.4", "@langchain/core": "^0.3.6", "@langchain/langgraph": "^0.2.11", If I comment out Annotation.Root my page loads.
yindo closed this issue 2026-02-15 17:15:49 -05:00
Author
Owner

@ghost commented on GitHub (Oct 3, 2024):

I had an override conflict in my package json from a previous build. Removed and fixed.

@ghost commented on GitHub (Oct 3, 2024): I had an override conflict in my package json from a previous build. Removed and fixed.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langchain-ai/langgraphjs#105