SysML-v2-Release icon indicating copy to clipboard operation
SysML-v2-Release copied to clipboard

The installation of the systems-modeling/jupyterlab-sysml plugin has failed.

Open Yarao-Liu opened this issue 11 months ago • 3 comments

The installation of the systems-modeling/jupyterlab-sysml plugin has failed.

The command jupyter labextension install "@systems-modeling/jupyterlab-sysml@%SYSML_VERSION%" encountered an error, and the error message is as follows: (sysmlv2) D:\SysML-v2-Release-2024-12> jupyter labextension install "@systems-modeling/[email protected]" (Deprecated) Installing extensions with the jupyter labextension install command is now deprecated and will be removed in a future major version of JupyterLab. Users should manage prebuilt extensions with package managers like pip and conda, and extension authors are encouraged to distribute their extensions as prebuilt packages Building jupyterlab assets (development) An error occurred. RuntimeError: npm dependencies failed to install See the log file for details: C:\Users\13439\AppData\Local\Temp\jupyterlab-debug-dc1owozo.log However, my Node environment is functioning properly. (sysmlv2) D:\SysML-v2-Release-2024-12>npm -v 8.19.4 (sysmlv2) D:\SysML-v2-Release-2024-12>node -v v16.20.2

=================================================== jupyterlab-debug-dc1owozo.log The content is as follows: (Deprecated) Installing extensions with the jupyter labextension install command is now deprecated and will be removed in a future major version of JupyterLab. Users should manage prebuilt extensions with package managers like pip and conda, and extension authors are encouraged to distribute their extensions as prebuilt packages.

Yarao-Liu avatar Mar 10 '25 07:03 Yarao-Liu

The jupyterlab-sysml plugin just provides the highlight function, you can delete in install.bat

MMA-JAY avatar Mar 31 '25 14:03 MMA-JAY

This has been happening for some time now. I see it in the 2025-04 release as well running in podman with debian:bookworm and miniconda.

--- Step 4: Installing JupyterLab SysML extension --- /home/sysml/conda/bin/jupyter-labextension:6: DeprecationWarning: Parsing dates involving a day of month without a year specified is ambiguious
and fails to parse leap day. The default behavior will change in Python 3.15 to either always raise an exception or to use a different default year (TBD). To avoid trouble, add a specific year to the input & format. See https://github.com/python/cpython/issues/70647.
from jupyterlab.labextensions import main
(Deprecated) Installing extensions with the jupyter labextension install command is now deprecated and will be removed in a future major version of JupyterLab.

Users should manage prebuilt extensions with package managers like pip and conda, and extension authors are encouraged to distribute their extensions as prebuilt packages
Building jupyterlab assets (production, minimized) An error occurred. RuntimeError: npm dependencies failed to install See the log file for details: /tmp/jupyterlab-debug-6jevxrja.log

mycr0ft avatar Jun 04 '25 01:06 mycr0ft

I encountered this problem too, and I tried various environments: macos(26.0.1, miniconda 25.9.1), ubuntu(ubuntu 22, miniconda 25.9.1), it seems this problem always happens: "RuntimeError: npm dependencies failed to install"

GazeboXu avatar Oct 27 '25 02:10 GazeboXu