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
2.23.1
Please see jaredwray/keyv#70
node a/index.js should run with no output.
node a/index.js
"Error: Cannot find module '@keyv/mongo'".
node -v
The text was updated successfully, but these errors were encountered:
Turns out the culprit is this require line:
require
return new (require(adapters[adapter]))(opts);
What could be added to the "Does not work with X" FAQ entry to help module authors ensure compatibility with pnpm in cases like these?
Sorry, something went wrong.
Related: #1486
We should encourage users to declare their optional peer dependencies via the new "peerDependenciesMeta" field. We don't support it yet but we will.
"peerDependenciesMeta"
If there is still an issue, use node-linker=hoisted
No branches or pull requests
pnpm version
2.23.1
Code to reproduce the issue
Please see jaredwray/keyv#70
Expected behavior
node a/index.js
should run with no output.Actual behavior
Additional information
node -v
prints: v10.13.0 or v11.6.0The text was updated successfully, but these errors were encountered: