Skip to content

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

Open
@DjakaTechnology

Description

@DjakaTechnology

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions