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

JavaScript error occurred in the main process #54280

Closed
shashikanth-gs opened this issue Aug 9, 2024 · 4 comments
Closed

JavaScript error occurred in the main process #54280

shashikanth-gs opened this issue Aug 9, 2024 · 4 comments
Labels
assert Issues and PRs related to the assert subsystem. timers Issues and PRs related to the timers subsystem / setImmediate, setInterval, setTimeout.

Comments

@shashikanth-gs
Copy link

Version

v18.17.0

Platform

Microsoft Windows NT 10.0.19045.0 x64

Subsystem

No response

What steps will reproduce the bug?

on startup, getting the below popup, repeatedly. Even after clicking ok, pop up appears again. and never goes away.

Stack trace:

at assert (node internal/assett: 14:11)
at internalConnectMultiple (node:net:1118: 3)
at Timeout. internalConnectMultipleT1meout (node net 1687:3)
at listOnT1meout (node:internal/timers: 575: 11)
at process.processT1mers (node internal/timers:5147)

Capture

How often does it reproduce? Is there a required condition?

It is a a pop which appears repeatedly, soon after windows is started

What is the expected behavior? Why is that the expected behavior?

No error, node should have started in background (which was working all these days)

What do you see instead?

on windows startup seeing the pop up continuously.

Uncaught Exception:
Error This is caused by either a bug in Nodejs or incorrect usage
of Node.js internals.
Please open an issue with this stack trace at https://github.com/nodejs/node/issues

Additional information

No response

@RedYetiDev
Copy link
Member

Hi! Could you provide a minimal reproduction? It's hard to reproduce without any sample code

@RedYetiDev RedYetiDev added assert Issues and PRs related to the assert subsystem. timers Issues and PRs related to the timers subsystem / setImmediate, setInterval, setTimeout. labels Aug 9, 2024
@MrJithil
Copy link
Member

MrJithil commented Aug 9, 2024

@shashikanth-gs Could you please provide some more context on this issue? Is it the the error popping while your machine starts? Or are you trying to open any desktop apps?

@marco-ippolito
Copy link
Member

This has been fixed in Node v20 and probably in a later version on v18. Please upgrade

@aduh95
Copy link
Contributor

aduh95 commented Aug 9, 2024

Duplicate of #51354

Bug was fixed on Node.js 20.12+ (I don't think 18.x was ever affected, my guess would that that popup comes from an Electron app that is in fact using Node.js 20.x, and you should report that to them instead).

@aduh95 aduh95 closed this as not planned Won't fix, can't repro, duplicate, stale Aug 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
assert Issues and PRs related to the assert subsystem. timers Issues and PRs related to the timers subsystem / setImmediate, setInterval, setTimeout.
Projects
None yet
Development

No branches or pull requests

5 participants