I tried to use the package in a vite project and I get the following error:
[vite] Internal server error: Failed to resolve entry for package "@streamparser/json". The package may have incorrect main/module/exports specified in its package.json.
It seems like the "module" key in package.json points to a not existing file ./dist/mjs/index.js.
I tried to use the package in a vite project and I get the following error:
It seems like the "module" key in
package.json
points to a not existing file./dist/mjs/index.js
.