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
Hi,
I am getting an error in the build about Vite not being able to resolve esm-env, which is used by sveltekit-flash-message.
Here is the error message:
✘ [ERROR] Could not resolve "esm-env"
../../node_modules/.store/sveltekit-flash-message-virtual-b0a0b5868a/node_modules/sveltekit-flash-message/dist/client.js:3:35:
3 │ import { BROWSER as browser } from 'esm-env';
╵ ~~~~~~~~~
You can mark the path "esm-env" as external to exclude it from the bundle, which will remove this error and leave the unresolved path in the bundle.
Vite version: 5.4.0
sveltekit-flash-message version: 2.4.4
SvelteKit version: 2.5.10
I wasn't able to find a workaround. Any clues what could be the issue?
The text was updated successfully, but these errors were encountered:
Hi,
I am getting an error in the build about Vite not being able to resolve
esm-env
, which is used bysveltekit-flash-message
.Here is the error message:
Vite version:
5.4.0
sveltekit-flash-message version:
2.4.4
SvelteKit version:
2.5.10
I wasn't able to find a workaround. Any clues what could be the issue?
The text was updated successfully, but these errors were encountered: