-
Notifications
You must be signed in to change notification settings - Fork 43
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
lng dev is not working with latest node version #253
Comments
Hey @sthirumurugesan, thanks for bringing this to our attention. I have tested this by using Node v21.6.1 on Linux and I could reproduce the issue. But the problem does not occur every time I run : cross-env LNG_SERVE_OPEN=false LNG_BUILD_SOURCEMAP=true LNG_LIVE_RELOAD=true LNG_LIVE_RELOAD_PORT=8991 LNG_SERVE_PORT=12169 lng dev Instead it happens at random times. And I am not sure yet if it is related to the version of Node. The source of the problem is that
So we need to check if why sometimes the dev server can't log the IP addresses (or can't get it) and maybe we should also check if the regex matches serve.js:74. We will be looking into that. During my tests I added a console.log(`\n#### ${data.toString()} ####\n`) So, as a reference, I am adding the output I got when the error occurred:
|
I'm using the latest node version and when i try to run the lightning app, I'm getting the below error.
When i use the node version v21.6.1 (latest) issue is observed. When i downgrade to v20.11.0 issue is not observed and everything works fine.
The text was updated successfully, but these errors were encountered: