Source: jupyterlab
Version: 4.0.11+ds1-2
Severity: normal

Dear Maintainer,

when I start jupyter-lab, I get there errors

$ jupyter lab
Fail to get yarn configuration. node:internal/modules/cjs/loader:1148
  throw err;
  ^

Error: Cannot find module '/usr/share/nodejs/corepack/dist/yarn.js'
    at Module._resolveFilename (node:internal/modules/cjs/loader:1145:15)
    at Module._load (node:internal/modules/cjs/loader:986:27)
    at Function.executeUserEntryPoint [as runMain] 
(node:internal/modules/run_main:174:12)
    at node:internal/main/run_main_module:28:49 {
  code: 'MODULE_NOT_FOUND',
  requireStack: []
}

Node.js v20.15.1

[I 2024-08-06 18:03:27.952 ServerApp] jupyterlab | extension was successfully 
linked.
[I 2024-08-06 18:03:27.955 ServerApp] Writing Jupyter server cookie secret to 
/home/picca/.local/share/jupyter/runtime/jupyter_cookie_secret
[I 2024-08-06 18:03:28.342 ServerApp] notebook_shim | extension was 
successfully linked.
[I 2024-08-06 18:03:28.365 ServerApp] notebook_shim | extension was 
successfully loaded.
[I 2024-08-06 18:03:28.366 LabApp] JupyterLab extension loaded from 
/usr/lib/python3/dist-packages/jupyterlab
[I 2024-08-06 18:03:28.366 LabApp] JupyterLab application directory is 
/usr/share/jupyter/lab
[I 2024-08-06 18:03:28.366 LabApp] Extension Manager is 'pypi'.
[I 2024-08-06 18:03:28.368 ServerApp] jupyterlab | extension was successfully 
loaded.
[I 2024-08-06 18:03:28.368 ServerApp] Serving notebooks from local directory: 
/home/picca
[I 2024-08-06 18:03:28.368 ServerApp] Jupyter Server 1.23.3 is running at:
[I 2024-08-06 18:03:28.368 ServerApp] 
http://localhost:8888/lab?token=8c9a8a3cfda4630538049f8ead6237b52fa82b9b56079ca2
[I 2024-08-06 18:03:28.368 ServerApp]  or 
http://127.0.0.1:8888/lab?token=8c9a8a3cfda4630538049f8ead6237b52fa82b9b56079ca2
[I 2024-08-06 18:03:28.368 ServerApp] Use Control-C to stop this server and 
shut down all kernels (twice to skip confirmation).
[C 2024-08-06 18:03:28.408 ServerApp] 
    
    To access the server, open this file in a browser:
        
file:///home/picca/.local/share/jupyter/runtime/jpserver-201873-open.html
    Or copy and paste one of these URLs:
        
http://localhost:8888/lab?token=8c9a8a3cfda4630538049f8ead6237b52fa82b9b56079ca2
     or 
http://127.0.0.1:8888/lab?token=8c9a8a3cfda4630538049f8ead6237b52fa82b9b56079ca2
[E 2024-08-06 18:03:31.929 ServerApp] Could not open static file ''
[W 2024-08-06 18:03:31.930 ServerApp] 404 GET /api/me?1722960211804 (::1) 
12.77ms referer=http://localhost:8888/lab
[W 2024-08-06 18:03:31.933 ServerApp] 404 GET 
/api/events/subscribe?token=8c9a8a3cfda4630538049f8ead6237b52fa82b9b56079ca2 
(::1) 14.84ms referer=None
[W 2024-08-06 18:03:32.184 ServerApp] 404 GET 
/api/events/subscribe?token=8c9a8a3cfda4630538049f8ead6237b52fa82b9b56079ca2 
(::1) 0.92ms referer=None
[W 2024-08-06 18:03:33.322 ServerApp] 404 GET /lsp/status?1722960213320 (::1) 
1.03ms referer=http://localhost:8888/lab
[W 2024-08-06 18:03:33.450 ServerApp] 404 GET 
/api/events/subscribe?token=8c9a8a3cfda4630538049f8ead6237b52fa82b9b56079ca2 
(::1) 2.28ms referer=None
[E 2024-08-06 18:03:33.498 LabApp] Fail to get yarn configuration. 
node:internal/modules/cjs/loader:1148
      throw err;
      ^
    
    Error: Cannot find module '/usr/share/nodejs/corepack/dist/yarn.js'
        at Module._resolveFilename (node:internal/modules/cjs/loader:1145:15)
        at Module._load (node:internal/modules/cjs/loader:986:27)
        at Function.executeUserEntryPoint [as runMain] 
(node:internal/modules/run_main:174:12)
        at node:internal/main/run_main_module:28:49 {
      code: 'MODULE_NOT_FOUND',
      requireStack: []
    }
    
    Node.js v20.15.1
    
[I 2024-08-06 18:03:33.499 LabApp] Build is up to date
[W 2024-08-06 18:03:36.286 ServerApp] 404 GET 
/api/events/subscribe?token=8c9a8a3cfda4630538049f8ead6237b52fa82b9b56079ca2 
(::1) 2.24ms referer=None
[W 2024-08-06 18:03:39.739 ServerApp] 404 GET 
/api/events/subscribe?token=8c9a8a3cfda4630538049f8ead6237b52fa82b9b56079ca2 
(::1) 1.68ms referer=None



-- System Information:
Debian Release: 12.6
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 
'proposed-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 6.1.0-23-amd64 (SMP w/128 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, 
TAINT_UNSIGNED_MODULE
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Reply via email to