I am currently moving a frontend JupyterLab 3 extension (@juxl/juxl-extension, version 3.1.2) from installation via npm to installation via pip.
I am able to create corresponding local pip packages, but when installing the extension via local whl file in a local conda environment and starting JupyterLab, I get the error message:
Error: No provider for: @jupyterlab/coreutils:ISettingRegistry.
When installing the extension not via the local whl file, but via jlpm, jlpm build:lib:prod (tsc) and jupyter labextension install . it runs as expected.
Does anyone know, why the error Error: No provider for: @jupyterlab/coreutils:ISettingRegistry. is given only when installing the extension via pip?
Furthermore I tried to install it in a local docker environment, but again i get the same error, but with different details:
Dockerfile:
ARG BASE_IMAGE=registry.git.rwth-aachen.de/jupyter/profiles/rwth-courses:latest
FROM ${BASE_IMAGE}
# add additional pip installs to base env:
ADD requirements.txt .
RUN pip install -r requirements.txt
# add juxl extension extension
ADD juxl_extension-3.2.0-py3-none-any.whl .
RUN pip install juxl_extension-3.2.0-py3-none-any.whl
RUN jupyter labextension install @juxl/logging@^3.1.1
# Copy overrides into corresponding directory
COPY --chown=1000 juxl.jupyterlab-settings /opt/conda/share/jupyter/lab/settings/overrides.json