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

Unexpected token ' #824

Open
OmniJax opened this issue May 7, 2024 · 4 comments
Open

Unexpected token ' #824

OmniJax opened this issue May 7, 2024 · 4 comments
Labels

Comments

@OmniJax
Copy link

OmniJax commented May 7, 2024

Upon opening JupyterLab I get an error message that says the following...
"A JavaScript error occurred in the main process

Uncaught Exception:
SyntaxError: Unexpected token '

image

I tried updating to the latest version but it didn't work

Copy link

welcome bot commented May 7, 2024

Thank you for opening your first issue in this project! Engagement like this is essential for open source projects! 🤗

If you haven't done so already, check out Jupyter's Code of Conduct. Also, please try to follow the issue template as it helps other other community members to contribute more effectively.
welcome
You can meet the other Jovyans by joining our Discourse forum. There is also an intro thread there where you can stop by and say Hi! 👋

Welcome to the Jupyter community! 🎉

@OmniJax OmniJax closed this as completed May 7, 2024
@OmniJax OmniJax reopened this May 7, 2024
@OmniJax
Copy link
Author

OmniJax commented May 7, 2024

When I try to create a new session, it gets stuck on this screen

image

@JasonWeill
Copy link

@OmniJax Thanks for opening this issue! From your first screenshot, I see the error is; SyntaxError: Unexpected token ", ""… is not valid JSON. How did you install JupyterLab Desktop? Which OS (name and version) are you using? If you launch JupyterLab Desktop from a terminal, do you see any errors in the terminal?

@OmniJax
Copy link
Author

OmniJax commented May 8, 2024

@JasonWeill

Hi! I am using win10, and I installed it by "JupyterLab-Setup-Windows-x64.exe".

Now I can use Jupyter-desktop after uninstalling the jupyterlab-desktop and deleting the folder 'C:\Users\XXX\AppData\Roaming\jupyterlab-desktop'.

Now my problem is, when I try to create new session in welcome page, it will get stuck in “creating new session” stage. I can firstly execute “jupyter lab —no-browser” in cmd, and then connect to it in Jupyter-desktop, but it will be more troublesome. Actually I didn't have this problem before. It will help me automatically create a session and enter it.

thank you

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

No branches or pull requests

2 participants