Skip to content

Error installing v5.0.1 #144

@jorisroling

Description

@jorisroling

Describe the bug

My npm module contains jsonpath-plus, now when I include my project in another, this pops up:
Error [ERR_INVALID_PACKAGE_TARGET]: Invalid "exports" main target "dist/index-node-cjs.js" defined in the package config <my project>/package.json; targets must start with "./"

Environment (IMPORTANT)

  • JSONPath-Plus version: 5.0.1

Desktop**

  • OS: NodeJS
  • v14.15.4

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions