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 "./"
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)
Desktop**