Getting error WebSocket disconnected
Closed this issue ยท 9 comments
Hi,
I'm getting an error on startup; this is what I'm doing.
I configure the host to be "auto" in NiM:
I create a simple main.js
file, and then I run it using node --inspect-brk main.js
. NiM detects the URL and opens, but I get the following error:
OS & Versions:
OS: Manjaro Linux
Node: v14.4.0
NiM: 2.4.2 (as seen by the first screenshot)
Thank you
Can you provide a screenshot of the DevTools window? What is the DevTools URL? Also possible to share the main.js file you are running... have you tried other files?
@june07 thank you for your answer, I'm not currently at my Linux machine, but I just tried on my Windows machine, and this is what I get:
OS: Windows 10 (Version 2004 - OS Build 19041.329)
Node: v14.4.0
NiM: 2.4.2
My main.js
only contains 2 lines (maybe that's why?)
const hello = 'MY NAME';
console.warn('HELLO', hello);
And this is my terminal output:
Debugger listening on ws://127.0.0.1:9229/8715fbe1-5e97-4f3f-add7-30b7a137789c
For help, see: https://nodejs.org/en/docs/inspector
Debugger attached.
Wow, OK, that's interesting, given that the issue was opened in 2018, I don't think I should get my hopes up as to when the issue will be fixed :)
I don't have access to my Linux machine for the moment, but do you think it's the same issue affecting that?
they have been speedy in processing updates through the web store.
Good to know ๐
you can easily test by trying the aforementioned fix.
Sure, I'll give it a try and update this
Hey @june07, an update on my side for my Linux machine:
When I tried again now, I'm seeing the same message as what we talked about on Windows, so I think it's because of the same reason
@farzadmf Thanks for the update. I'll leave this issue open for others to find easier. It would be nice to see a n upstream fix soon.
See https://github.com/june07/nimv3 for updates as the project was upgraded to Manifest Version 3 due to Google's change.