When upgrading vitest from 0.33.0 to 0.34.1 I get the following error when running vitest:
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Unhandled Rejection ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Error: Failed to resolve entry for package "sveltekit-flash-message". The package may have incorrect main/module/exports specified in its package.json: Missing "." specifier in "sveltekit-flash-message" package
If I remove sveltekit-flash-message from the project, vitest runs just fine.
Also if I leave the sveltekit-flash-message and go back to 0.33.0, vitest runs fine.
You could argue its a vitest problem, but the message is specific for sveltekit-flash-message and removing it solves the problem.
When upgrading vitest from 0.33.0 to 0.34.1 I get the following error when running vitest:
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Unhandled Rejection ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Error: Failed to resolve entry for package "sveltekit-flash-message". The package may have incorrect main/module/exports specified in its package.json: Missing "." specifier in "sveltekit-flash-message" package
If I remove sveltekit-flash-message from the project, vitest runs just fine.
Also if I leave the sveltekit-flash-message and go back to 0.33.0, vitest runs fine.
You could argue its a vitest problem, but the message is specific for sveltekit-flash-message and removing it solves the problem.