Skip to content

Invalid exports in package.json #14

@matthemsteger

Description

@matthemsteger

With recent NPM and node updates, for example node 12.18.0 and npm 6.14.4, there is a more strict check on the package.json.

Error [ERR_INVALID_PACKAGE_TARGET] [ERR_INVALID_PACKAGE_TARGET]: Invalid "exports" main target "MemoryStorage" defined in the package config /var/www/restref-site/node_modules/memorystorage/package.json; targets must start with "./"

This prevents the use of this package.

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