Open hellojinwoo opened 2 years ago
Server Connection Error
javaScript error occured in the main process
, my notebook gets disconnected from Python and it sets back to no kernel
@hellojinwoo thanks for reporting this issue. Other folks had reported this issue but we couldn't find the exact source of the problem. Server seems to sometimes crash on Windows, during launch. so as a remedy we are restarting the server as mentioned here https://github.com/jupyterlab/jupyterlab-desktop/issues/388#issuecomment-1053643642. Restart is limited to up to 3 times.
Are you consistently getting this error message every time you launch JupyterLab Desktop?
@mbektas Thank you for the feedback. Yes, I have constantly received the error message whenever I execute the jupyterlab. To solve the problem, I have deleted the jupyterlab-desktop as instructed in the installation page. And then I have reinstalled jupyterlab desktop. But the error keeps showing up.
Now it seems like the only solution would be formatting my laptop, which I wouldn't like to do for real.
@hellojinwoo is this still a problem for you? have you tried the latest version 3.6.1-1?
How can I fix this please help
A JavaScript error occurred in the main process
Uncaught Exception: SyntaxError: Unexpected token'
this is what happened when I start up Jupyterlab
I am experiencing this issue right now. Was a resolution identified?
@Tigger36 can you try with the latest version and provide logs if issue persists?
I also experienced this issue. But I found nothing from 'C:\Users\XXX\AppData\Roaming\jupyterlab-desktop\logs\main.log'. There were only records of previous successes there.
Finally,I solved this problem by uninstalling the jupyterlab-desktop, deleting the folder 'C:\Users\XXX\AppData\Roaming\jupyterlab-desktop\' and reinstalling the latest version v4.0.7-1.
my device is win10.
@0915xiaoxiang thanks for sharing your solution. @Tigger36 and @litodemesa could you also try the same?
I have a similar issue installing JLD on MacOS 13.6 Intel. I need help. The message is as follows:
A JavaScript error occurred in the main process
Uncaught Exception:
TypeError: Cannot read properties of undefined (reading 'uiMode') at IpcMainImpl.
I have a similar issue installing JLD on MacOS 13.6 Intel. I need help. The message is as follows:
A JavaScript error occurred in the main process Uncaught Exception: TypeError: Cannot read properties of undefined (reading 'uiMode') at IpcMainImpl. (/ Applications/JupyterLab.app/Contents/ Resources/app.asar/build/out/main/ sessionwindow/sessionwindow.is:631:47) at IpcMainImpl.emit (node:events:514:28) at WebContents. (node:electron/is2c/ browser_init:2:88262) at WebContents.emit (node:events:514:28)
I got almost the same error on Ubuntu 24. Any ideas on how to sort it out?
"A JavaScript error occurred in the main process
Uncaught Exception:
TypeError: Cannot read properties of undefined (reading 'uiMode')
at IpcMainImpl.
Description
uncaught Exception: Error: connect ECONNERFUSED 127.0.0.1:64279 at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1142:16)