You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I use a package from the Eliza repository in a new Nestjs application, then I get this error.
The error example below happens for all imports, not only adapter of sqlite but also the core package.
Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: Package subpath './dist/index.js' is not defined by "exports" in /app/node_modules/@elizaos/adapter-sqlite/package.json
at new NodeError (node:internal/errors:405:5)
at exportsNotFound (node:internal/modules/esm/resolve:366:10)
at packageExportsResolve (node:internal/modules/esm/resolve:713:9)
To Reproduce
Expected behavior
No error. Imports should work.
Additional context
I try different tsconfig configuration with "moduleResolution": "node" and other, but the error persists. If I delete the "export" content from all Eliza packages locally inside node_modules, then it works locally.
The text was updated successfully, but these errors were encountered:
Hello @keyur555! Welcome to the elizaOS community. Thank you for opening your first issue; we appreciate your contribution. You are now an elizaOS contributor!
Describe the bug
When I use a package from the Eliza repository in a new Nestjs application, then I get this error.
The error example below happens for all imports, not only adapter of sqlite but also the core package.
Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: Package subpath './dist/index.js' is not defined by "exports" in /app/node_modules/@elizaos/adapter-sqlite/package.json
To Reproduce
Expected behavior
No error. Imports should work.
Additional context
I try different tsconfig configuration with "moduleResolution": "node" and other, but the error persists. If I delete the "export" content from all Eliza packages locally inside node_modules, then it works locally.
The text was updated successfully, but these errors were encountered: