question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Install from github raises ValueError: Missing extension module "lib/index.js"

See original GitHub issue

I ran jupyter labextension install --debug https://github.com/lckr/jupyterlab-variableInspector from the README.

Full Output:

Node v11.6.0

> /usr/local/bin/npm pack https://github.com/lckr/jupyterlab-variableInspector
npm notice 
npm notice 📦  jupyterlab_variableinspector@0.1.0
npm notice === Tarball Contents === 
npm notice 1.3kB package.json   
npm notice 1.1kB LICENSE        
npm notice 2.0kB README.md      
npm notice 1.0kB style/index.css
npm notice === Tarball Details === 
npm notice name:          jupyterlab_variableinspector            
npm notice version:       0.1.0                                   
npm notice filename:      jupyterlab_variableinspector-0.1.0.tgz  
npm notice package size:  2.5 kB                                  
npm notice unpacked size: 5.4 kB                                  
npm notice shasum:        05f2583b9a63807433b8560adcedd0c13a4bf5f9
npm notice integrity:     sha512-S+NLW6MVDJWFK[...]7q5qXKqi91Ibg==
npm notice total files:   4                                       
npm notice 
jupyterlab_variableinspector-0.1.0.tgz
Traceback (most recent call last):

  File "/Users/Atom/.miniconda/lib/python3.7/site-packages/jupyterlab/labextensions.py", line 77, in start
    ans = self.run_task()

  File "/Users/Atom/.miniconda/lib/python3.7/site-packages/jupyterlab/labextensions.py", line 106, in run_task
    for arg in self.extra_args

  File "/Users/Atom/.miniconda/lib/python3.7/site-packages/jupyterlab/labextensions.py", line 106, in <listcomp>
    for arg in self.extra_args

  File "/Users/Atom/.miniconda/lib/python3.7/site-packages/jupyterlab/commands.py", line 219, in install_extension
    return handler.install_extension(extension)

  File "/Users/Atom/.miniconda/lib/python3.7/site-packages/jupyterlab/commands.py", line 418, in install_extension
    info = self._install_extension(extension, tempdir)

  File "/Users/Atom/.miniconda/lib/python3.7/site-packages/jupyterlab/commands.py", line 1257, in _install_extension
    raise ValueError(msg % (extension, '\n'.join(messages)))

ValueError: "https://github.com/lckr/jupyterlab-variableInspector" is not a valid extension:
Missing extension module "lib/index.js"


Errored, use --debug for full output:
ValueError: "https://github.com/lckr/jupyterlab-variableInspector" is not a valid extension:
Missing extension module "lib/index.js"

I noticed the repo has no lib/index.js but it does have src/index.ts, could it be as simple as changing the path to this file in package.json?

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:8 (3 by maintainers)

github_iconTop GitHub Comments

4reactions
lckrcommented, Jan 29, 2019

Hey all, I just published the current version of this extension on npm and verified that the installation works for me. Additonally, I updated the readme to reflect the new installation guidelines.

Please try installing it with jupyter labextension install @lckr/jupyterlab_variableinspector and let me know if that works for you.

Best, lckr

0reactions
nathanielatomcommented, Jan 30, 2019

Hi @lckr, it works great! Thanks!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Missing extension module "lib/index.js" · Issue #6 - GitHub
Do the install inside Anaconda Command prompt and the following error occurs: And this is the log file: Yarn configuration loaded.
Read more >
Missing extension module "lib/index.js" · Issue #45 - GitHub
I am trying to install the module, by first downloading it, cd into the directory, and finally running npm install from inside the...
Read more >
Can't install extensions not uploaded to npm #5852 - GitHub
I'm having trouble installing JupyterLab extensions that are not ... is not a valid extension: Missing mimeExtension module "lib/index.js".
Read more >
Missing extension module "lib/plugin.js" · Issue #9 - GitHub
I followed the steps to try to install the development version. Cloned repository and built it. Here is the output $ npm install...
Read more >
ValueError: "jupyterlab-slurm" is not a valid extension: #36
When I try to install the jupyterlab extension it fails with the ... not a valid extension: Missing extension module "lib/index.js" Exiting ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found