-
Notifications
You must be signed in to change notification settings - Fork 146
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
util.inspect: cannot read property 'options' of null #740
Labels
Comments
For history, this issue is breaking mongoose |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When using
esm
programmatically, passing any options object as second arg breaksutil.inspect()
.I've tried versions one by one. This bug seems to be introduced by 3.2.11...3.2.12. Downgrading to
3.2.11
fixes problem but any version equal or higher to3.2.12
has this problem.Additional info:
v11.10.1
Repo:
a.js
b.js
inspect.js
Running
node a.js
seems fine butnode b.js
throws this error:With
debug
enabled:The text was updated successfully, but these errors were encountered: