Skip to content

ERR_MODULE_NOT_FOUND during Vitest/ESM resolution due to missing .js extension #90

@rahulharpal1603

Description

@rahulharpal1603

Description: Module resolution for the wallet-svelte-component library fails when run in strict Node.js environments (like Vitest tests). This is due to a missing file extension on a relative internal import in the package's distribution.

Expected Outcome:
In case "npm run test" command works

Difficulty Level: Medium

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions