Install the svelte template and update to svelte 5 RC
pnpm add -D svelte@next
Reproduce link
No response
What is actually happening?
[ building ] ⠂ transform (18) src/App.svelte
[ Farm ] Failed to start the server:
Error: Can not resolve `esm-env` from node_modules/.pnpm/svelte@5.0.0-next.155/node_modules/svelte/src/internal/shared/errors.js.
Original error: None.
Potential Causes:
1.The file that `esm-env` points to does not exist.
2.Install it first if `esm-env` is an dependency from node_modules, if you are using pnpm refer to [https://pnpm.io/faq#pnpm-does-not-work-with-your-project-here] for solutions.
3. If `esm-env` is a alias, make sure your alias config is correct.
Steps to reproduce
Install the svelte template and update to svelte 5 RC
Reproduce link
No response
What is actually happening?
System Info