Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
clearstorm-tech opened this issue Oct 3, 2024 · 1 comment

Comments

@clearstorm-tech
Copy link

clearstorm-tech commented 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[email protected][email protected]_ignore@[email protected]__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[email protected][email protected]_ignore@[email protected]__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.

@clearstorm-tech
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant