Skip to content

Failed to resolve entry for package "matrix-js-sdk" #3013

@kfiven

Description

@kfiven

When trying to start a dev server or build app, my build system reports:

[commonjs--resolver] Failed to resolve entry for package "matrix-js-sdk". The package may have incorrect main/module/exports specified in its package.json.
error during build:
Error: Failed to resolve entry for package "matrix-js-sdk". The package may have incorrect main/module/exports specified in its package.json.
    at packageEntryFailure (file:///home/runner/work/cinny/cinny/node_modules/vite/dist/node/chunks/dep-2285ba4f.js:22938:11)
    at resolvePackageEntry (file:///home/runner/work/cinny/cinny/node_modules/vite/dist/node/chunks/dep-2285ba4f.js:22935:5)
    at tryNodeResolve (file:///home/runner/work/cinny/cinny/node_modules/vite/dist/node/chunks/dep-2285ba4f.js:22671:[20](https://github.com/cinnyapp/cinny/actions/runs/3783229035/jobs/6431607704#step:5:21))
    at Object.resolveId (file:///home/runner/work/cinny/cinny/node_modules/vite/dist/node/chunks/dep-2285ba4f.js:22435:28)
    at file:///home/runner/work/cinny/cinny/node_modules/rollup/dist/es/shared/rollup.js:23451:40
Error: Process completed with exit code 1.

Started happening with sdk version 23.0.0
node: v18.12.1
yarn: 1.22.19
npm: 8.19.2

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions