jupyterlab-desktop: jlab app server installation fails, Win11, v3.6.1-1
Description
JupyterLab installation succeeded but the built-in app server installer does not. It first shows some package error, that you can ignore (or retry but that doesn’t help), and it then fails with:
Reproduce
- uninstall old jlab and jupyter
- download 3.6.1-1 for windows
- install
- start jupyter
- click on the built-in installer in the footer of the new welcome screen
- install “just for me”
Expected behavior
Successful install
Context
- Operating System and version: Win11 10.0.22621 Build 22621, x64
- JupyterLab-Desktop version: v3.6.1-1
- Installer: .exe
Logs (required for issues with loading, server and startup)
[2023-02-19 16:49:04.120] [info] In production mode [2023-02-19 16:49:04.127] [info] Logging to file (C:\Users\xxx\AppData\Roaming\jupyterlab-desktop\logs\main.log) at 'false' level [2023-02-19 16:49:04.194] [error] (node:13108) DeprecationWarning: findLogPath() is deprecated and will be removed in v5. (Use `JupyterLab --trace-deprecation ...` to show where the warning was created) [2023-02-19 16:49:22.890] [verbose] Starting application in workspace: "default" [2023-02-19 16:52:16.235] [error] Failed to create free server Error: No default environment found! at C:\JupyterLab\resources\app.asar\build\out\main\registry.js:191:32 at process.processTicksAndRejections (node:internal/process/task_queues:96:5) [2023-02-19 16:52:16.238] [error] (node:23332) UnhandledPromiseRejectionWarning: Error: No default environment found! at C:\JupyterLab\resources\app.asar\build\out\main\registry.js:191:32 at process.processTicksAndRejections (node:internal/process/task_queues:96:5) (Use `JupyterLab --trace-warnings ...` to show where the warning was created) [2023-02-19 16:52:16.238] [error] (node:23332) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 2) [2023-02-19 16:54:32.429] [error] Error: Installer Exit: 2 at ChildProcess.<anonymous> (C:\JupyterLab\resources\app.asar\build\out\main\app.js:470:50) at ChildProcess.emit (node:events:513:28) at ChildProcess._handle.onexit (node:internal/child_process:291:12) [2023-02-19 16:54:40.169] [error] Failed to create free server Error: No default environment found! at C:\JupyterLab\resources\app.asar\build\out\main\registry.js:191:32 at process.processTicksAndRejections (node:internal/process/task_queues:96:5) [2023-02-19 16:54:40.173] [error] (node:17788) UnhandledPromiseRejectionWarning: Error: No default environment found! at C:\JupyterLab\resources\app.asar\build\out\main\registry.js:191:32 at process.processTicksAndRejections (node:internal/process/task_queues:96:5) (Use `JupyterLab --trace-warnings ...` to show where the warning was created) [2023-02-19 16:54:40.174] [error] (node:17788) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 2) [2023-02-19 16:54:56.518] [error] (node:17788) [DEP0147] DeprecationWarning: In future versions of Node.js, fs.rmdir(path, { recursive: true }) will be removed. Use fs.rm(path, { recursive: true }) instead
About this issue
- Original URL
- State: closed
- Created a year ago
- Comments: 20 (7 by maintainers)
I notice that @black-snow is running a German version of Windows — are we sure we’re using localized directory names in the installer? Windows sometimes uses different directory names in different language versions of the OS.
Thank you for opening your first issue in this project! Engagement like this is essential for open source projects! 🤗
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! 👋
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 to the Jupyter community! 🎉