-
Notifications
You must be signed in to change notification settings - Fork 15
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 [ERR_REQUIRE_ESM]: require() of ES Module #66
Comments
reproduceable in 2.14 version. The following is my package.json
|
Hey! Could you please share a full example for reproduction? Also, could you please try running the examples following the instruction and see if that works? |
I am running nvm v19.7.0 with package.json from above. The following is the index.ts script that broke:
It fails at "const inspector" statement. |
BUMP having the same issue |
Was able to import the inspector in a nest js app:
|
When executing:
const inspector = new Inspector(1, provider);
I got error:
However if I add
"type": "module",
in my package.json, I got error:
I am using nvm version 0.38.0
The text was updated successfully, but these errors were encountered: