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

A JavaScript error occured in the main process: Unexpected end of JSON input #881

Closed
wongkhoon opened this issue Dec 22, 2024 · 2 comments
Closed

Comments

@wongkhoon
Copy link

Hi, I’m reaching out for advice on resolving the issue shown in the attached image regarding the error message:

A JavaScript error occurred in the main process
Unexpected end of JSON input

The error popped up unexpectedly when I tried running my JupyterLab notebook. I followed the advice to delete all cached files located at C:\Users\AppData\Roaming\jupyterlab-desktop\Cache as suggested by ChatGPT, but unfortunately, it didn’t resolve the issue.

Next, I uninstalled and reinstalled JupyterLab Desktop from the official GitHub page (https://github.com/jupyterlab/jupyterlab-desktop), but the problem persists. The same error appears whenever I attempt to open any JupyterLab notebook or even the JupyterLab desktop app itself.

Could you please guide me on how to resolve this issue?

Thank you in advance for your help!
image

@wongkhoon
Copy link
Author

Problem's solved after deleting the entire folder at C:\Users\user\AppData\Roaming\jupyterlab-desktop and reinstalled the application. However, I still don't understand why this error occurred so suddenly. Thanks.

@RRosio
Copy link

RRosio commented Jan 8, 2025

Thank you for opening this issue and providing an update @wongkhoon! It looks like the issue has been resolved for you now, and it's not clear how this could be reproduced so I believe there's no action to take in Jupyterlab-desktop at the moment. However if you happen to encounter this issue again please feel welcome to re-open this issue and share any information that you believe would be useful in reproducing and diagnosing this!

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

No branches or pull requests

2 participants