Replies: 1 comment
-
Based on the error message you're encountering, it seems like you're trying to import There are a few potential solutions to this issue:
I found a few similar issues in the LangChain JS repository that might be helpful:
These issues suggest that updating the I hope this helps! If you have any other questions or need further clarification, feel free to ask. Sources
|
Beta Was this translation helpful? Give feedback.
-
Checked other resources
Commit to Help
Example Code
Description
I'm trying to use JsonSpec but it is causing [ERR_PACKAGE_PATH_NOT_EXPORTED]: Package subpath './dist/tools/json' is not defined by "exports" in node_modules\langchain\package.json
System Info
Node.js v21.6.1
"langchain": "^0.1.28"
Beta Was this translation helpful? Give feedback.
All reactions