Skip to content

Electron >=20 with ELECTRON_RUN_AS_NODE: TypeError: Cannot convert undefined or null to object #3155

Answered by Prinzhorn
Prinzhorn asked this question in Q&A
Discussion options

You must be logged in to vote

Turns out this is a bug in Electron (they fiddled with the ESM loader), I just need to repro it without ava. Broke between 20.3.1 and 20.3.2.

https://grep.app/search?q=if%20%28%21ObjectPrototypeHasOwnProperty%28exports%2C%20exportName%29

electron/electron#35930

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Prinzhorn
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant