New installation issue with jupyter labextension install jupyterlab-prodigy

Hi,

I am trying to install Prodigy on a windows machine using anaconda. when running this command:
jupyter labextension install jupyterlab-prodigy
I get:

An error occurred.
ValueError: "jupyterlab-prodigy" is not a valid npm package
See the log file for details:  C:\Users\SEDIGH~1.ADM\AppData\Local\Temp\jupyterlab-debug-ze4rm5ss.log

jupyter labextension list shows:

JupyterLab v3.5.3
C:\Users\sedigh\Anaconda3\envs\py38\share\jupyter\labextensions
        jupyterlab-prodigy v4.0.0 enabled ok (python, jupyterlab-prodigy)
        jupyterlab_pygments v0.2.2 enabled ok (python, jupyterlab_pygments)

conda list jupyterlab:
jupyterlab                      3.5.3              pyhd8ed1ab_0    conda-forge
jupyterlab-prodigy        4.0.0                    pypi_0    pypi
jupyterlab_pygments     0.2.2              pyhd8ed1ab_0    conda-forge
jupyterlab_server           2.16.6             pyhd8ed1ab_0    conda-forge

And npm install jupyterlab-prodigy shows:

npm ERR! code UNABLE_TO_GET_ISSUER_CERT_LOCALLY
npm ERR! errno UNABLE_TO_GET_ISSUER_CERT_LOCALLY
npm ERR! request to https://registry.npmjs.org/jupyterlab-prodigy failed, reason: unable to get local issuer certificate

npm ERR! A complete log of this run can be found in:
npm ERR!     C:\Users\Sedigh.admin\AppData\Local\npm-cache\_logs\2023-05-08T01_02_20_034Z-debug-0.log

Can you please help me get past this?
Many thanks

I fear that you might be using an old installation method. When I run this command locally I receive this message:

> jupyter labextension install jupyterlab-prodigy

# (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 

I just tried installing it locally via:

python -m pip install jupyterlab-prodigy

When I run jupyter labextension list I see this:

JupyterLab v3.6.3
/Users/vincent/Development/prodigy/venv/share/jupyter/labextensions
        jupyterlab_pygments v0.2.2 enabled OK (python, jupyterlab_pygments)
        jupyterlab-prodigy v4.0.0 enabled OK (python, jupyterlab-prodigy)
        @jupyter-widgets/jupyterlab-manager v5.0.5 enabled OK (python, jupyterlab_widgets)

Other labextensions (built into JupyterLab)
   app dir: /Users/vincent/Development/prodigy/venv/share/jupyter/lab

When I now start Prodigy, I'm able to access it from Jupyterlab. When I open up the command toolbar via CMD + SHIFT + C and search "Prodigy" I see the option to open it.

CleanShot 2023-05-08 at 12.00.26

This is what my screen looks like after opening.