Skip to content
This repository has been archived by the owner on Jun 11, 2024. It is now read-only.

Too strict version check - [email protected] not installing but 0.12.0 does #90

Open
NumesSanguis opened this issue May 31, 2019 · 0 comments

Comments

@NumesSanguis
Copy link

Problem

When running the jupyter labextension install @jupyterlab/hub-extension command, it seems that @jupyterlab/[email protected] is too strict with version checking?

"@jupyterlab/[email protected]" is not compatible with the current JupyterLab
Conflicting Dependencies:
JupyterLab              Extension        Package
>=0.19.1 <0.20.0        >=1.0.0-alpha.6 <2.0.0@jupyterlab/application
>=0.19.1 <0.20.0        >=1.0.0-alpha.6 <2.0.0@jupyterlab/apputils

However, it then proceeds to install the older version: Found compatible version: 0.12.0.

log

Click me for full log!

jupyter labextension install @jupyterlab/hub-extension
Node v11.14.0

> /opt/miniconda3/bin/npm pack @jupyterlab/hub-extension
npm notice 
npm notice 📦  @jupyterlab/[email protected]
npm notice === Tarball Contents === 
npm notice 945B  package.json  
npm notice 1.5kB LICENSE       
npm notice 1.5kB README.md     
npm notice 361B  lib/index.d.ts
npm notice 2.6kB lib/index.js  
npm notice === Tarball Details === 
npm notice name:          @jupyterlab/hub-extension                 
npm notice version:       1.0.0-alpha.6                             
npm notice filename:      jupyterlab-hub-extension-1.0.0-alpha.6.tgz
npm notice package size:  3.0 kB                                    
npm notice unpacked size: 6.9 kB                                    
npm notice shasum:        60042197de156adb2d79a527a46e2bcd28fb78ad  
npm notice integrity:     sha512-wVwClN6K0kHRt[...]dt/nErABVpBVA==  
npm notice total files:   5                                         
npm notice 
jupyterlab-hub-extension-1.0.0-alpha.6.tgz
Incompatible extension:

"@jupyterlab/[email protected]" is not compatible with the current JupyterLab
Conflicting Dependencies:
JupyterLab              Extension        Package
>=0.19.1 <0.20.0        >=1.0.0-alpha.6 <2.0.0@jupyterlab/application
>=0.19.1 <0.20.0        >=1.0.0-alpha.6 <2.0.0@jupyterlab/apputils

Found compatible version: 0.12.0
> /opt/miniconda3/bin/npm pack @jupyterlab/[email protected]
npm notice 
npm notice 📦  @jupyterlab/[email protected]
npm notice === Tarball Contents === 
npm notice 908B  package.json  
npm notice 1.5kB LICENSE       
npm notice 1.5kB README.md     
npm notice 351B  lib/index.d.ts
npm notice 2.6kB lib/index.js  
npm notice === Tarball Details === 
npm notice name:          @jupyterlab/hub-extension               
npm notice version:       0.12.0                                  
npm notice filename:      jupyterlab-hub-extension-0.12.0.tgz     
npm notice package size:  3.0 kB                                  
npm notice unpacked size: 6.9 kB                                  
npm notice shasum:        2928622d6b5dfd67b859948f08bf0cf8c55f5717
npm notice integrity:     sha512-3iR402o7GNcyn[...]jCq3H+ROnFhkg==
npm notice total files:   5                                       
npm notice 
jupyterlab-hub-extension-0.12.0.tgz
Node v11.14.0

> node /opt/miniconda3/lib/python3.7/site-packages/jupyterlab/staging/yarn.js install
yarn install v1.9.4
info No lockfile found.
[1/5] Validating package.json...
[2/5] Resolving packages...
warning @jupyterlab/application > @jupyterlab/apputils > react > fbjs > [email protected]: core-js@<2.6.8 is no longer maintained. Please, upgrade to core-js@3 or at least to actual version of core-js@2.
⠁ commander@2(node:13027) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
warning css-loader > cssnano > autoprefixer > [email protected]: Browserslist 2 could fail on reading Browserslist >3.0 config used in other tools.
warning css-loader > cssnano > postcss-merge-rules > [email protected]: Browserslist 2 could fail on reading Browserslist >3.0 config used in other tools.
warning css-loader > cssnano > postcss-merge-rules > caniuse-api > [email protected]: Browserslist 2 could fail on reading Browserslist >3.0 config used in other tools.
warning css-loader > cssnano > postcss-merge-rules > postcss-selector-parser > [email protected]: I wrote this module a very long time ago; you should use something else.
[3/5] Fetching packages...
info [email protected]: The platform "linux" is incompatible with this module.
info "[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
[4/5] Linking dependencies...
warning "@jupyterlab/vdom-extension > @nteract/[email protected]" has incorrect peer dependency "react@^15.6.1".
warning "@jupyterlab/vega4-extension > vega-embed > [email protected]" has unmet peer dependency "vega@*".
[5/5] Building fresh packages...
success Saved lockfile.
warning Your current version of Yarn is out of date. The latest version is "1.16.0", while you're on "1.9.4".
Done in 21.36s.
> node /opt/miniconda3/lib/python3.7/site-packages/jupyterlab/staging/yarn.js run build
yarn run v1.9.4
$ webpack
Hash: a0f7c705a5d5cf0c4817
Version: webpack 4.12.2
Time: 6823ms
Built at: 05/31/2019 10:22:24 AM
                                   Asset       Size        Chunks             Chunk Names
    674f50d287a8c48dc19ba404d20fe713.eot    162 KiB                [emitted]  
  af7ae505a9eed503f8b8e6982036873e.woff2   75.4 KiB                [emitted]  
    912ec66d7572ff821749319396470bde.svg    434 KiB                [emitted]  
   fee66e712a8a08eef5805a46892932ad.woff   95.7 KiB                [emitted]  
    b06871f281fee6b241d60582ae9369b9.ttf    162 KiB                [emitted]  
            main.7f6ac277a1289010433d.js   53.3 KiB          main  [emitted]  main
               0.cc98107762fcc28532b3.js    4.5 KiB             0  [emitted]  
            vega.91b98e783d16fd1b9e23.js  519 bytes          vega  [emitted]  vega
    vendors~main.adaca46241c0f2fd74dc.js   8.06 MiB  vendors~main  [emitted]  vendors~main
    vendors~vega.5655a785d3abf327f3a3.js   2.98 MiB  vendors~vega  [emitted]  vendors~vega
               1.055322dcf6c2bb19185f.js    888 KiB             1  [emitted]  
        main.7f6ac277a1289010433d.js.map     62 KiB          main  [emitted]  main
           0.cc98107762fcc28532b3.js.map   5.73 KiB             0  [emitted]  
        vega.91b98e783d16fd1b9e23.js.map  251 bytes          vega  [emitted]  vega
vendors~main.adaca46241c0f2fd74dc.js.map   9.27 MiB  vendors~main  [emitted]  vendors~main
vendors~vega.5655a785d3abf327f3a3.js.map   2.32 MiB  vendors~vega  [emitted]  vendors~vega
           1.055322dcf6c2bb19185f.js.map   1.04 MiB             1  [emitted]  
                              index.html   1.54 KiB                [emitted]  
Entrypoint main = vendors~main.adaca46241c0f2fd74dc.js vendors~main.adaca46241c0f2fd74dc.js.map main.7f6ac277a1289010433d.js main.7f6ac277a1289010433d.js.map
 [0] multi whatwg-fetch ./build/index.out.js 40 bytes {main} [built]
 [ANye] ./build/index.out.js 35 KiB {main} [built]
 [yLpj] (webpack)/buildin/global.js 489 bytes {vendors~main} [built]
 [1] vertx (ignored) 15 bytes {main} [optional] [built]
 [RnhZ] ./node_modules/moment/locale sync ^\.\/.*$ 2.88 KiB {main} [optional] [built]
 [YuTi] (webpack)/buildin/module.js 497 bytes {vendors~main} [built]
 [eTbV] ./node_modules/codemirror/mode sync ^\.\/.*\.js$ 2.78 KiB {0} [built]
 [2] util (ignored) 15 bytes {main} [built]
 [4] buffer (ignored) 15 bytes {main} [optional] [built]
 [5] crypto (ignored) 15 bytes {main} [optional] [built]
 [6] readable-stream (ignored) 15 bytes {main} [built]
 [7] supports-color (ignored) 15 bytes {main} [built]
 [8] chalk (ignored) 15 bytes {main} [built]
[10] node-fetch (ignored) 15 bytes {vega} [built]
[11] fs (ignored) 15 bytes {vega} [built]
    + 2441 hidden modules

WARNING in d3-array
  Multiple versions of d3-array found:
    1.2.4 ./~/d3-scale/~/d3-array from ./~/d3-scale/~/d3-array/src/index.js
    2.2.0 ./~/d3-array from ./~/d3-array/src/index.js


WARNING in vega-lite
  Multiple versions of vega-lite found:
    2.5.1 ./~/vega-lite/build/src from ./~/vega-lite/build/src/compile/selection/selection.js
    2.6.0 ./~/vega-lite/build from ./~/vega-lite/build/src/index.js

Check how you can resolve duplicate packages: 
https://github.com/darrenscerri/duplicate-package-checker-webpack-plugin#resolving-duplicate-packages-in-your-bundle

Child html-webpack-plugin for "index.html":
     1 asset
    Entrypoint undefined = index.html
    [KTNU] ./node_modules/html-loader!./templates/partial.html 567 bytes {0} [built]
    [YuTi] (webpack)/buildin/module.js 497 bytes {0} [built]
    [aS2v] ./node_modules/html-webpack-plugin/lib/loader.js!./templates/template.html 1.22 KiB {0} [built]
    [yLpj] (webpack)/buildin/global.js 489 bytes {0} [built]
        + 1 hidden module
Done in 8.11s.

System

  • Ubuntu 18.04 server
  • JupyterHub 1.0.0
  • Miniconda installed system-wide as local user under /opt/miniconda3
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant