-
-
Notifications
You must be signed in to change notification settings - Fork 96
New issue
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
Error: code: 'ERR_REQUIRE_ESM' in TS #65
Comments
I am getting this error even by using |
Same here - can't use p-limit in a nest.js framework |
Switched to version 3 solves the issue for now |
Same here using v5. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi, I have the following code
import pLimit from 'p-limit' const limit = pLimit(8)
And I receive an error in my console:
var _pLimit = _interopRequireDefault(require("p-limit"));
The text was updated successfully, but these errors were encountered: