We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
This package got new field in package.json
"exports": { ".": [ { "default": "./index.js" }, "./index.js" ], "./package": "./package.json", "./package.json": "./package" },
However, it doesn't work.
To reproduce the error, go to an empty folder.
npm i deep-equal node > require('deep-equal/package.json') Uncaught Error: Cannot find module 'deep-equal/package.json' Require stack: - <repl> at Function.Module._resolveFilename (internal/modules/cjs/loader.js:965:15) at Function.resolve (internal/modules/cjs/helpers.js:78:19) { code: 'MODULE_NOT_FOUND', requireStack: [ '<repl>' ] }
The fix: Change
"./package.json": "./package"
To
"./package.json": "./package.json"
The text was updated successfully, but these errors were encountered:
You're totally right, thanks. I'll fix that.
Sorry, something went wrong.
ecede4c
No branches or pull requests
This package got new field in package.json
However, it doesn't work.
To reproduce the error, go to an empty folder.
The fix:
Change
To
The text was updated successfully, but these errors were encountered: