Skip to content

MODULE_TYPELESS_PACKAGE_JSON Warning because of like of module type in package.json #97

@ZipBrandon

Description

@ZipBrandon

I noticed that "type": "module" was removed in v2. I think it should be there. I receive this warning otherwise:

(node:61158) [MODULE_TYPELESS_PACKAGE_JSON] Warning: Module type of file:///Users/lazerskates/DEVELOPMENT/zipdeal/zipdeal-app/frontend/node_modules/use-file-picker/dist/index.esm.js is not specified and it doesn't parse as CommonJS. Reparsing as ES module because module syntax was detected. This incurs a performance overhead. To eliminate this warning, add "type": "module" to /Users/lazerskates/DEVELOPMENT/zipdeal/zipdeal-app/frontend/node_modules/use-file-picker/package.json.

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