You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
> require('amaro') // as in readmeUncaught:Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: No "exports" main defined in ./node_modules/amaro/package.json... code: 'ERR_PACKAGE_PATH_NOT_EXPORTED'}
> require('amaro/dist/index') // as in Node.jsUncaught:Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: Package subpath './dist/index' is not defined by "exports" in ./node_modules/amaro/package.json ... code: 'ERR_PACKAGE_PATH_NOT_EXPORTED'}
> require('amaro/package.json') // works{ name: 'amaro', version: '0.0.4',...
The text was updated successfully, but these errors were encountered:
to package.json should fix it, and can probably remove the package.json export, probably export can be remove all together and it should follow the entry point
The example from readme doesn't work:
The text was updated successfully, but these errors were encountered: