Skip to content

ESM Support -- Can not load solid-command-palette with an ESM-based SolidJS application #19

@kopertop

Description

@kopertop

It looks like something needs to be updated in the package.json to support ES modules,

An unhandled error occured: TypeError: Cannot read properties of undefined (reading 'defineAction')

I've also tried importing the .es file directly but that gave me a different error:

solid-command-palette doesn't appear to be written in CJS, but also doesn't appear to be a valid ES module (i.e. it doesn't have "type": "module" or an .mjs extension for the entry point). Please contact the package author to fix.
Package subpath 'undefined' is not defined by "exports"

It looks like this package hasn't been updated in over a year, is it still being maintained?

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