-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
Bug: parcel
freezes on start
#23281
Comments
Is it burning 100% cpu maybe? |
CPU usage is very low < 1%. Looking at chrome traces it seems like it's waiting on the native side. |
That suggests it's a problem with Node-API native extensions. |
Just tried with a build from git and I cannot reproduce the issue anymore. Running into a different error but will open a new issue for that. |
Reopening as we ran into this again |
It seems this is now stuck in
|
…#25243) Fixes #23281. Part of #20613. We were emitting the `online` event in the constructor, so the caller could never receive it (since there was no time for them to add a listener). Instead, emit the event where it's intended – after the worker is initialized. --- After this parcel no longer freezes, but still will fail due to other bugs (which will be fixed in other PRs)
Running
parcel
freezes the terminal and I can't even usectrl+c
to abort it.Steps to reproduce
index.html
with these contents:DENO_FUTURE=1 deno run -A npm:parcel src/index.html
Version: Deno 1.42.1 (git 2670c1d 2024-04-08)
OS: mac
The text was updated successfully, but these errors were encountered: