-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
installation error: doesn't support current version of Jupyterlab #3
Comments
me too :( |
@up2young I found an updated version under the |
The extension works fine for me after changing the dependencies in package.json. There is a pull request waiting with similar changes.
Using the ^ in npm dependencies works differently for 0.x releases, so this package would then be limited to version 0.19.x.
Personally I think "^0.19" is too conservative, and would suggest matching "0.x" as they are in theory intended to be backwards compatible. |
@cocoaaa thanks, but how to use the new version? I'm a novice. |
In the latest jupyter-lab version this does not work either, however changing the depenencies in package.json as suggested by @a1650078 works out of the box when we change them to the following:
and generally following the workflow suggested by @cocoaaa :) |
@Magnusgaertner I'd be happy to accept a PR |
<Update on installing this extension with jupyter-lab 1.1.0> I recently updated jupyterlab to version 1.1.0 and had another dependency conflicts. I'm not very familiar with packaging and npm installation process, so there must be a more proper way to resolve this conflict by updating the package.json file. In the meantime, if anyone wants a quick fix, here is what I did to install this extension on jupterlab 1.1.0:
Change the "dependencies": {
"@jupyterlab/application": "^1.1",
"@jupyterlab/coreutils": "^3.1",
"@jupyterlab/filebrowser": "^1.1",
"@jupyterlab/notebook": "^1.1",
"@jupyterlab/services": "^4.1",
"@phosphor/widgets": "^1.6.0"
},
For some reason, if I use update the dependency versions before running node_modules/@jupyterlab/ui-components/lib/icon/iconregistry.d.ts:1:8 - error TS1192: Module '"/Users/hayley/miniconda3/share/jupyter/lab/manual_extensions/jupyterlab-clipboard/node_modules/@types/react/index"' has no default export.
1 import React from 'react';
~~~~~
node_modules/@jupyterlab/ui-components/lib/icon/interfaces.d.ts:3:8 - error TS1192: Module '"/Users/hayley/miniconda3/share/jupyter/lab/manual_extensions/jupyterlab-clipboard/node_modules/@types/react/index"' has no default export.
3 import React from 'react';
~~~~~
src/index.ts:3:3 - error TS2305: Module '"/Users/hayley/miniconda3/share/jupyter/lab/manual_extensions/jupyterlab-clipboard/node_modules/@jupyterlab/application/lib/index"' has no exported member 'JupyterLabPlugin'.
3 JupyterLabPlugin,
~~~~~~~~~~~~~~~~
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] prepublish: `yarn clean && yarn build`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] prepublish script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
So, I had to use the original |
Hi, thank you for creating this extension.
I'm getting this error message saying "This extension does not yet support the current version of Jupyterlab". Could you advise me what to do?
I'm currently useing jupyterlab 0.35.4 (py36_0) installed from conda-forge.
Thanks!
The text was updated successfully, but these errors were encountered: