Skip to content
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

RangeError [Error] when using startFromWorker API #2045

Closed
josepot opened this issue Nov 23, 2024 · 2 comments · Fixed by #2047
Closed

RangeError [Error] when using startFromWorker API #2045

josepot opened this issue Nov 23, 2024 · 2 comments · Fixed by #2047

Comments

@josepot
Copy link
Contributor

josepot commented Nov 23, 2024

Sometimes, when using the startFromWorker API I get the following error:

image

In most cases this issue doesn't happen in a deterministic manner, but somehow I managed to create a reproduction where the issue does happen deterministically.

@tomaka
Copy link
Contributor

tomaka commented Nov 24, 2024

Your repro doesn't run on my system as I only have NodeJS v18, and I don't want to spend hours figuring out the clusterfuck that is installing a custom NodeJS version.

However, looking at the code, #2047 should fix this.

@josepot
Copy link
Contributor Author

josepot commented Nov 24, 2024

Your repro doesn't run on my system as I only have NodeJS v18, and I don't want to spend hours figuring out the clusterfuck that is installing a custom NodeJS version.

Simplest and most reliable way to manage different node versions is using nvm, eg:

nvm i 20

Also, FYI: node 18 is not even "active" anymore.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants