-
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
Dynamic Import Hangs #692
Comments
Hi @dsanders11! I can't speak to the failure of promise |
Good to know, but For the moment I've fallen back to using |
Have you tried Electron 3 stable? |
@jdalton, yes, I just tried changing that branch to Electron 3 stable, same result. |
Thanks for the repro. I narrowed it down to something funky with builtin Update: It's because I'm using Update: Patched b85f671. To see logs in the renderer process you'll want to |
@jdalton, thanks for the quick fix! I've confirmed in the repro case that it's now acting as expected. |
@jdalton, sorry if I'm missing something obvious here, trying to get something working for a deadline so can't deep dive.
I can't seem to get
import()
to do anything in Electron. I have a reproduce case here, but I'll reproduce the code here since it's simple:I'd expect that to either resolve or reject, but instead neither happens. I've tried a number of different things with no change:
.mjs
esm
to"module": "all"
import('foo.js')
,import('./foo')
, etcAny pointer in the right direction?
P.S. Can installed package names be used, like
import('events')
?The text was updated successfully, but these errors were encountered: