tauri-sveltekit-skeleton-template icon indicating copy to clipboard operation
tauri-sveltekit-skeleton-template copied to clipboard

Uncaught TypeError: Failed to resolve module specifier "esm-env". Relative references must start with either "/", "./", or "../".

Open DjakaTechnology opened this issue 2 years ago • 0 comments

Hello, thanks for the template.

When I tried to run this with npm run dev, I got this error at runtime: localhost/:1 Uncaught TypeError: Failed to resolve module specifier "esm-env". Relative references must start with either "/", "./", or "../".

But if I use npm run build then open the index.html, no runtime issues happpened.

Do you have any insight why this is happening?

DjakaTechnology avatar Aug 25 '23 20:08 DjakaTechnology