Error during installation: Cannot find module 'jupyterlab-kernelspy/package.json'
dbrakman opened this issue · 2 comments
dbrakman commented
From a computer running Ubuntu 16.04 with Jupyterlab v0.35.6, and Node v9.8.0, the installation command jupyter labextension install jupyterlab-kernelspy
fails with:
/home/ubuntu/Python-3.7.3/share/jupyter/lab/staging/node_modules/webpack-cli/bin/cli.js:74
throw err;
^
Error: Cannot find module 'jupyterlab-kernelspy/package.json'
Have I missed a prerequisite installation step?
vidartf commented
It might be that there was an issue with the last release compatible with lab 0.35 (I don't really have time to troubleshoot this). I would strongly recommend updating to JupyterLab 1.x though.
dbrakman commented
That solved my issue. Thanks!
(I then had to change my Node version to 6.*, 8.*, or >=10, per a helpful log message)