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
$ node Welcome to Node.js v15.14.0. Type ".help" for more information.
const pMemoize = require('p-memoize');
Uncaught: Error [ERR_REQUIRE_ESM]: Must use import to load ES Module: node_modules/p-memoize/dist/index.js
The text was updated successfully, but these errors were encountered:
The error is correct.
https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c
Sorry, something went wrong.
No branches or pull requests
$ node
Welcome to Node.js v15.14.0.
Type ".help" for more information.
The text was updated successfully, but these errors were encountered: