Vite v5 react cannot build: Error: [commonjs--resolver] Failed to resolve entry for package "@langchain/core". The package may have incorrect main/module/exports specified in its package.json #5522
Replies: 2 comments
-
The error you're encountering suggests that Vite is having trouble resolving the entry point for the
By following these steps, you should be able to resolve the build error related to the
|
Beta Was this translation helpful? Give feedback.
-
This appears to be a true misconfiguration in the core package.json: https://publint.dev/@langchain/[email protected]. We're finding that |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Checked other resources
Commit to Help
Example Code
Description
System Info
pnpm: 9.06
macos: lateset
node: 20
Beta Was this translation helpful? Give feedback.
All reactions