Github not enabled

I installed jupyterlab github extension and it is not enabled and I cannot figure out why.

Preformatted textJupyterLab v2.1.0
Known labextensions:
   app dir: /usr/local/anaconda3/share/jupyter/lab
        @aquirdturtle/collapsible_headings v2.2.0  enabled  OK
        @ijmbarr/jupyterlab_spellchecker v0.1.6  enabled  OK
        @jupyter-widgets/jupyterlab-manager v2.0.0  enabled  OK
        @jupyterlab/github v2.0.0 disabled OK
        @jupyterlab/latex v2.0.0  enabled  OK
        @jupyterlab/toc v3.0.0  enabled  OK
        nbdime-jupyterlab v2.0.0  enabled  OK

Uninstalled core extensions:
    @jupyterlab/github
    @ryantam626/jupyterlab_code_formatter

Maybe try re-enabling it?

jupyter labextension enable @jupyterlab/github

Ideally, this isn’t needed. But throwing it out there in case it helps.

While you’re at it, also checkout jupyterlab_gitplus, another git extension for JupyterLab. @jupyterlab/github shows you repository contents whereas jupyterlab_gitplus helps push commits & create pull requests. So theres not much overlap, you can use them both.

Disclaimer: I built jupyterlab_gitplus

1 Like

I tried this and I removed it completely and now it shows enabled but it is not showing up on my jupyterlab sidebar

❯ ~ jupyter labextension list
JupyterLab v2.1.0
Known labextensions:
app dir: /usr/local/anaconda3/share/jupyter/lab
@aquirdturtle/collapsible_headings v2.2.0 enabled OK
@ijmbarr/jupyterlab_spellchecker v0.1.6 enabled OK
@jupyter-widgets/jupyterlab-manager v2.0.0 enabled OK
@jupyterlab/github v2.0.0 enabled OK
@jupyterlab/latex v2.0.0 enabled OK
@jupyterlab/shortcutui v0.5.0-beta.2 enabled OK
@jupyterlab/toc v3.0.0 enabled OK
@karosc/jupyterlab_dracula v2.0.3 enabled OK
@ryantam626/jupyterlab_code_formatter v1.2.3 enabled OK
@wallneradam/run_all_buttons v0.2.0 enabled OK
@yeebc/jupyterlab_neon_theme v1.0.5 enabled OK
jupyterlab-python-file v0.4.0 enabled OK
jupyterlab-theme-toggle v0.5.0 disabled OK
jupyterlab-topbar-extension v0.5.0 enabled OK

Uninstalled core extensions:
@jupyterlab/github
@ryantam626/jupyterlab_code_formatter

hmm, I’m not an expert at this, but here are some suggestions for debugging,

  • Can you try jupyter lab build just in case the JS is not built after the installation?

  • Open in the inspect window -> console tab in chrome browser when Jupyterlab loads and see if there are any errors reported there.