jupyterlab / jupyterlab-desktop

JupyterLab desktop application, based on Electron.
BSD 3-Clause "New" or "Revised" License
3.74k stars 361 forks source link

JupyterLab Desktop installation failed​ - Uncaught Exception: Cannot read properties of undefined (reading 'uiMode") #831

Open martinagreen opened 5 months ago

martinagreen commented 5 months ago

Description

Unable to install JupyterLab Desktop 4.2.1-1 for MacOS 13.6.7, Intel

  1. Opening the JupyterLab-Setup-macOS-x64.dmg file, returns a broken link between the App and the Applications folder as shown below:
JupyterLab 4 2 1-1 2024-05-30 at 3 04 35 PM
  1. Dragging the JupyterLab App to the Applications folder gives the following error message.
JLD Installation error message

Reproduce

  1. Download and install JupyterLab Desktop Application 4.2.1-1 for MacOS 13.6.7, Intel
  2. See errors described in 'Description' above.
  3. JupyterLab Desktop 4.2.1-1 could not be installed
  4. Cleaned up after installation failed, a) Eject the dmg file b) Delete the dmg file c) Clean up cache 6) Troubleshoot Electron Issues a) Updated node and npm b) Installed electron 7) Repeated Steps 1-5 several times, same result - JupyterLab Desktop installation failed

Expected behavior

A solid link between the JupyterLab 4.2.1-1 App and the Applications folder, so that after dragging the App to the Application folder can open JupyterLab Desktop

Context

Troubleshoot Output
Browser Output (required for interface issues after loading)

Logs (required for issues with loading, server and startup)

welcome[bot] commented 5 months ago

Thank you for opening your first issue in this project! Engagement like this is essential for open source projects! :hugs:
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! :wave:
Welcome to the Jupyter community! :tada:

JasonWeill commented 5 months ago

@martinagreen Thank you for opening this issue! Do you have admin access on your Mac? If so, have you authenticated (Touch ID, password, etc) to elevate privilege after dragging the application to the folder?

martinagreen commented 5 months ago

@JasonWeill, Thanks. Yes, I have full admin access on my Mac. I have double-checked this on System Settings.

maxwacker commented 5 months ago

Hello, first of all, thanks for this really useful project. Just for witnessing I got the exact same issue on a M1 Max MacBookPro.