-
Notifications
You must be signed in to change notification settings - Fork 29
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Hi there. I'm getting a "Cannot access 'compilation' before initialization" error during builds in my CI environment. After investigation, I believe I traced this to this line:
embedded-host-node/lib/src/compiler/async.ts
Line 134 in 4bcd8d5
| this.compilations.delete(compilation); |
The dispatcher comment here seems to hint that under some conditions we will call the callback synchronously so I suspect it's hitting that condition in the CI and immediately running callback which then reliably throws the error.
embedded-host-node/lib/src/dispatcher.ts
Line 117 in 4bcd8d5
| * events synchronously, `callback` will be called synchronously. |
Happy to provide additional details or raise a PR. Thanks for maintaining this project!
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working