Skip to content

[WIP] Update for JupyterLab 2.0 #520

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Closed
wants to merge 22 commits into from

Conversation

blink1073
Copy link
Contributor

Note: this can't be merged without a release of nbdime: jupyter/nbdime#508

There is also discussion in #517 about when master should target 2.0.

Summary of changes:

  • Rename @phosphor -> @lumino for dependencies and imports
  • Use @jupyterlab/nbformat and @jupyterlab/settingregistry that were split out from @jupyterlab/coreutils
  • Change icons to use JLICon

@telamonian
Copy link
Member

Making progress towards the upgrades needed for jupyterlab 2.0. Added a bunch more small fixes, and started working on migrating most of our icons to LabIcon:

  • All uses of IconRegistry have now been swapped out for LabIcon, with appropriate changes to idiom/usage patterns
  • All of the file type icons have now been migrated to LabIcon, and file type handling in general has been unified with that of jlab core

If someone else wants to take a peek and let me know about any styling regressions, that would be most helpful. However, you will need to get the latest HEAD of nbdime and yarn link nbdime to get a jlab 2.0 compatible version of the nbdime dependency.

@blink1073
Copy link
Contributor Author

I'd be wary of making any changes here that aren't scoped to 1.0 -> 2.0 compatibility, since it will make changes harder to backport.

@telamonian
Copy link
Member

telamonian commented Mar 4, 2020

Hmmm, I see your point. I was already thinking about saving the rest of the LabIcon migration for a followup PR. It looks like I got all of the critical fixes for 2.0 in by b00da65 (about halfway through the current PR), so I can clean this up by splitting the PR there.

Thanks for the good advice

@blink1073
Copy link
Contributor Author

Closing in favor of #550

@blink1073 blink1073 closed this Mar 4, 2020
@telamonian
Copy link
Member

@blink1073 Wait a sec. I think I missed something. Your advice was to keep the 2.0 upgrades and the LabIcon migration stuff separate, right? So why close this PR? My (new) plan was to keep the essential 2.0 stuff here and the bulk of the LabIcon stuff in #550.

@telamonian telamonian mentioned this pull request Mar 4, 2020
@blink1073
Copy link
Contributor Author

Ah, I misunderstood.

@vidartf
Copy link
Member

vidartf commented Mar 12, 2020

FYI, nbdime has been released previously with 2.0 support 😃

@BobCashStory
Copy link

👍

@bryant-finney
Copy link

I tried pulling blink1073:jlab-2.0 and am getting these build errors:

src/components/diff/NbDiff.tsx:51:9 - error TS2345: Argument of type 'import("/usr/local/src/jupyterlab-git/node_modules/@jupyterlab/rendermime/lib/tokens").IRenderMimeRegistry' is not assignable to parameter of type 'import("/usr/local/src/jupyterlab-git/node_modules/nbdime/node_modules/@jupyterlab/rendermime/lib/tokens").IRenderMimeRegistry'.
  The types of 'createRenderer(...).title.owner.layout.removeWidget' are incompatible between these types.
    Type '(widget: import("/usr/local/src/jupyterlab-git/node_modules/@lumino/widgets/lib/widget").Widget) => void' is not assignable to type '(widget: import("/usr/local/src/jupyterlab-git/node_modules/@phosphor/widgets/lib/widget").Widget) => void'.
      Types of parameters 'widget' and 'widget' are incompatible.
        Type 'import("/usr/local/src/jupyterlab-git/node_modules/@phosphor/widgets/lib/widget").Widget' is not assignable to type 'import("/usr/local/src/jupyterlab-git/node_modules/@lumino/widgets/lib/widget").Widget'.
          Types of property 'title' are incompatible.
            Type 'Title<Widget>' is missing the following properties from type 'Title<Widget>': iconRenderer, _icon

51         this.renderMimeRegistry,
           ~~~~~~~~~~~~~~~~~~~~~~~

src/components/diff/NbDiff.tsx:61:11 - error TS2345: Argument of type 'import("/usr/local/src/jupyterlab-git/node_modules/@jupyterlab/rendermime/lib/tokens").IRenderMimeRegistry' is not assignable to parameter of type 'import("/usr/local/src/jupyterlab-git/node_modules/nbdime/node_modules/@jupyterlab/rendermime/lib/tokens").IRenderMimeRegistry'.

61           this.renderMimeRegistry,
             ~~~~~~~~~~~~~~~~~~~~~~~


Found 2 errors.

error Command failed with exit code 2.

Any advice?

@lresende
Copy link
Member

I have made a couple updates and tried on JupyterLab 2.0.1 and it now seems to work ok.

@bryant-finney
Copy link

Getting different build errors this time:

$ cd /usr/local/src
$ sudo git clone https://github.com/jupyterlab/jupyterlab-git.git
$ cd jupyterlab-git
$ sudo -H pip install -U -e .[test]
[...]
Successfully installed GitPython-3.1.0 MarkupSafe-1.1.1 Send2Trash-1.5.0 attrs-19.3.0 backcall-0.1.0 bleach-3.1.3 certifi-2019.11.28 chardet-3.0.4 colorama-0.4.3 decorator-4.4.2 defusedxml-0.6.0 entrypoints-0.3 gitdb-4.0.2 idna-2.9 importlib-metadata-1.5.2 ipykernel-5.2.0 ipython-7.13.0 ipython-genutils-0.2.0 jedi-0.16.0 jinja2-2.11.1 json5-0.9.3 jsonschema-3.2.0 jupyter-client-6.1.1 jupyter-core-4.6.3 jupyterlab-2.0.1 jupyterlab-git jupyterlab-server-1.0.7 mistune-0.8.4 more-itertools-8.2.0 nbconvert-5.6.1 nbdime-2.0.0 nbformat-5.0.4 notebook-6.0.3 packaging-20.3 pandocfilters-1.4.2 parso-0.6.2 pexpect-4.8.0 pickleshare-0.7.5 pluggy-0.13.1 prometheus-client-0.7.1 prompt-toolkit-3.0.4 ptyprocess-0.6.0 py-1.8.1 pygments-2.6.1 pyparsing-2.4.6 pyrsistent-0.16.0 pytest-5.4.1 pytest-asyncio-0.10.0 python-dateutil-2.8.1 pyzmq-19.0.0 requests-2.23.0 setuptools-46.1.3 six-1.14.0 smmap-3.0.1 terminado-0.8.3 testpath-0.4.4 tornado-6.0.4 traitlets-4.3.3 urllib3-1.25.8 wcwidth-0.1.9 webencodings-0.5.1 zipp-3.1.0

$ # note: I didn't figure out how to force a rebuild when generating this comment
$ sudo jlpm build
yarn run v1.21.1
jlpm install && tsc
[1/4] Resolving packages...
success Already up-to-date.
Done in 9.11s.

$ sudo cat /tmp/jupyterlab-debug-zk7une3k.log 
Yarn configuration loaded.
> /usr/bin/npm pack /usr/local/src/jupyterlab-git
npm notice 
npm notice 📦  @jupyterlab/git@0.10.0
npm notice === Tarball Contents === 
npm notice 1.5kB   LICENSE                                      
npm notice 3.1kB   style/diff-common.css                        
npm notice 10.2kB  style/diff-nb.css                            
npm notice 1.4kB   style/diff-text.css                          
npm notice 1.1kB   style/icons.css                              
npm notice 383B    style/index.css                              
npm notice 2.2kB   style/variables.css                          
npm notice 1.0kB   lib/widgets/AuthorBox.js                     
npm notice 7.4kB   lib/components/BranchMenu.js                 
npm notice 2.7kB   lib/style/BranchMenu.js                      
npm notice 166B    lib/style/CloneButton.js                     
npm notice 3.4kB   lib/components/CommitBox.js                  
npm notice 2.5kB   lib/style/CommitBox.js                       
npm notice 1.5kB   lib/widgets/CredentialsBox.js                
npm notice 1.5kB   lib/components/diff/Diff.js                  
npm notice 2.2kB   lib/components/diff/DiffWidget.js            
npm notice 7.8kB   lib/components/FileItem.js                   
npm notice 4.5kB   lib/components/FileItemSimple.js             
npm notice 223B    lib/style/FileItemSimpleStyle.js             
npm notice 2.2kB   lib/style/FileItemStyle.js                   
npm notice 14.7kB  lib/components/FileList.js                   
npm notice 703B    lib/style/FileListStyle.js                   
npm notice 855B    lib/git.js                                   
npm notice 4.2kB   lib/widgets/gitClone.js                      
npm notice 3.1kB   lib/gitMenuCommands.js                       
npm notice 12.1kB  lib/components/GitPanel.js                   
npm notice 1.3kB   lib/style/GitPanel.js                        
npm notice 3.6kB   lib/widgets/gitPushPull.js                   
npm notice 4.1kB   lib/components/GitStage.js                   
npm notice 2.4kB   lib/components/GitStageSimple.js             
npm notice 2.1kB   lib/style/GitStageStyle.js                   
npm notice 751B    lib/widgets/GitWidget.js                     
npm notice 314B    lib/style/GitWidgetStyle.js                  
npm notice 664B    lib/components/HistorySideBar.js             
npm notice 295B    lib/style/HistorySideBarStyle.js             
npm notice 682B    lib/icons.js                                 
npm notice 4.4kB   lib/index.js                                 
npm notice 48.8kB  lib/components/diff/mergeview.js             
npm notice 252B    lib/components/diff/model.js                 
npm notice 29.9kB  lib/model.js                                 
npm notice 1.3kB   lib/components/diff/NBDiffHeader.js          
npm notice 10.5kB  lib/components/NewBranchDialog.js            
npm notice 5.3kB   lib/style/NewBranchDialog.js                 
npm notice 3.0kB   lib/components/PastCommitNode.js             
npm notice 1.4kB   lib/style/PastCommitNodeStyle.js             
npm notice 4.2kB   lib/components/diff/PlainTextDiff.js         
npm notice 2.3kB   lib/components/ResetDeleteSingleCommit.js    
npm notice 7.1kB   lib/components/SinglePastCommitInfo.js       
npm notice 2.9kB   lib/style/SinglePastCommitInfoStyle.js       
npm notice 235B    lib/tokens.js                                
npm notice 8.8kB   lib/components/Toolbar.js                    
npm notice 3.9kB   lib/style/Toolbar.js                         
npm notice 1.4kB   lib/utils.js                                 
npm notice 3.8kB   package.json                                 
npm notice 1.2kB   schema/plugin.json                           
npm notice 2.3kB   lib/widgets/AuthorBox.js.map                 
npm notice 13.0kB  lib/components/BranchMenu.js.map             
npm notice 4.9kB   lib/style/BranchMenu.js.map                  
npm notice 409B    lib/style/CloneButton.js.map                 
npm notice 6.3kB   lib/components/CommitBox.js.map              
npm notice 4.2kB   lib/style/CommitBox.js.map                   
npm notice 3.1kB   lib/widgets/CredentialsBox.js.map            
npm notice 3.2kB   lib/components/diff/Diff.js.map              
npm notice 4.0kB   lib/components/diff/DiffWidget.js.map        
npm notice 15.7kB  lib/components/FileItem.js.map               
npm notice 9.1kB   lib/components/FileItemSimple.js.map         
npm notice 617B    lib/style/FileItemSimpleStyle.js.map         
npm notice 4.1kB   lib/style/FileItemStyle.js.map               
npm notice 27.6kB  lib/components/FileList.js.map               
npm notice 1.4kB   lib/style/FileListStyle.js.map               
npm notice 1.7kB   lib/git.js.map                               
npm notice 8.0kB   lib/widgets/gitClone.js.map                  
npm notice 5.8kB   lib/gitMenuCommands.js.map                   
npm notice 21.5kB  lib/components/GitPanel.js.map               
npm notice 2.4kB   lib/style/GitPanel.js.map                    
npm notice 6.7kB   lib/widgets/gitPushPull.js.map               
npm notice 9.4kB   lib/components/GitStage.js.map               
npm notice 4.9kB   lib/components/GitStageSimple.js.map         
npm notice 3.8kB   lib/style/GitStageStyle.js.map               
npm notice 2.0kB   lib/widgets/GitWidget.js.map                 
npm notice 661B    lib/style/GitWidgetStyle.js.map              
npm notice 2.0kB   lib/components/HistorySideBar.js.map         
npm notice 670B    lib/style/HistorySideBarStyle.js.map         
npm notice 1.4kB   lib/icons.js.map                             
npm notice 8.6kB   lib/index.js.map                             
npm notice 105.8kB lib/components/diff/mergeview.js.map         
npm notice 1.2kB   lib/components/diff/model.js.map             
npm notice 52.2kB  lib/model.js.map                             
npm notice 2.2kB   lib/components/diff/NBDiffHeader.js.map      
npm notice 18.2kB  lib/components/NewBranchDialog.js.map        
npm notice 9.4kB   lib/style/NewBranchDialog.js.map             
npm notice 6.3kB   lib/components/PastCommitNode.js.map         
npm notice 2.8kB   lib/style/PastCommitNodeStyle.js.map         
npm notice 7.0kB   lib/components/diff/PlainTextDiff.js.map     
npm notice 4.5kB   lib/components/ResetDeleteSingleCommit.js.map
npm notice 13.1kB  lib/components/SinglePastCommitInfo.js.map   
npm notice 5.7kB   lib/style/SinglePastCommitInfoStyle.js.map   
npm notice 12.9kB  lib/tokens.js.map                            
npm notice 15.9kB  lib/components/Toolbar.js.map                
npm notice 7.0kB   lib/style/Toolbar.js.map                     
npm notice 2.7kB   lib/utils.js.map                             
npm notice 4.9kB   README.md                                    
npm notice 266B    style/icons/clear-white.svg                  
npm notice 267B    style/icons/deletions.svg                    
npm notice 302B    style/icons/desktop-white.svg                
npm notice 302B    style/icons/desktop.svg                      
npm notice 573B    style/icons/diff.svg                         
npm notice 242B    style/icons/discard-selected.svg             
npm notice 242B    style/icons/discard.svg                      
npm notice 1.4kB   style/icons/git-branch-white.svg             
npm notice 1.4kB   style/icons/git-branch.svg                   
npm notice 1.3kB   style/icons/git-clone.svg                    
npm notice 654B    style/icons/git-pull-white.svg               
npm notice 656B    style/icons/git-pull.svg                     
npm notice 647B    style/icons/git-push-white.svg               
npm notice 649B    style/icons/git-push.svg                     
npm notice 2.7kB   style/icons/git.svg                          
npm notice 289B    style/icons/insertions.svg                   
npm notice 173B    style/icons/move-file-down-hover.svg         
npm notice 175B    style/icons/move-file-down.svg               
npm notice 170B    style/icons/move-file-up-hover.svg           
npm notice 169B    style/icons/move-file-up.svg                 
npm notice 200B    style/icons/plus-white.svg                   
npm notice 185B    style/icons/plus.svg                         
npm notice 389B    style/icons/rewind-white.svg                 
npm notice 374B    style/icons/rewind.svg                       
npm notice 427B    lib/widgets/AuthorBox.d.ts                   
npm notice 2.7kB   lib/components/BranchMenu.d.ts               
npm notice 468B    lib/style/BranchMenu.d.ts                    
npm notice 47B     lib/style/CloneButton.d.ts                   
npm notice 2.1kB   lib/components/CommitBox.d.ts                
npm notice 252B    lib/style/CommitBox.d.ts                     
npm notice 470B    lib/widgets/CredentialsBox.d.ts              
npm notice 1.1kB   lib/components/diff/Diff.d.ts                
npm notice 732B    lib/components/diff/DiffWidget.d.ts          
npm notice 1.9kB   lib/components/FileItem.d.ts                 
npm notice 1.4kB   lib/components/FileItemSimple.d.ts           
npm notice 162B    lib/style/FileItemSimpleStyle.d.ts           
npm notice 719B    lib/style/FileItemStyle.d.ts                 
npm notice 3.5kB   lib/components/FileList.d.ts                 
npm notice 279B    lib/style/FileListStyle.d.ts                 
npm notice 274B    lib/git.d.ts                                 
npm notice 192B    lib/widgets/gitClone.d.ts                    
npm notice 731B    lib/gitMenuCommands.d.ts                     
npm notice 3.3kB   lib/components/GitPanel.d.ts                 
npm notice 318B    lib/style/GitPanel.d.ts                      
npm notice 1.1kB   lib/widgets/gitPushPull.d.ts                 
npm notice 1.7kB   lib/components/GitStage.d.ts                 
npm notice 867B    lib/components/GitStageSimple.d.ts           
npm notice 485B    lib/style/GitStageStyle.d.ts                 
npm notice 602B    lib/widgets/GitWidget.d.ts                   
npm notice 45B     lib/style/GitWidgetStyle.d.ts                
npm notice 536B    lib/components/HistorySideBar.d.ts           
npm notice 50B     lib/style/HistorySideBarStyle.d.ts           
npm notice 223B    lib/icons.d.ts                               
npm notice 354B    lib/index.d.ts                               
npm notice 4.4kB   lib/components/diff/mergeview.d.ts           
npm notice 782B    lib/components/diff/model.d.ts               
npm notice 9.3kB   lib/model.d.ts                               
npm notice 1.6kB   lib/components/diff/NbDiff.d.ts              
npm notice 401B    lib/components/diff/NBDiffHeader.d.ts        
npm notice 3.1kB   lib/components/NewBranchDialog.d.ts          
npm notice 1.0kB   lib/style/NewBranchDialog.d.ts               
npm notice 699B    lib/components/PastCommitNode.d.ts           
npm notice 536B    lib/style/PastCommitNodeStyle.d.ts           
npm notice 1.3kB   lib/components/diff/PlainTextDiff.d.ts       
npm notice 609B    lib/components/ResetDeleteSingleCommit.d.ts  
npm notice 998B    lib/components/SinglePastCommitInfo.d.ts     
npm notice 994B    lib/style/SinglePastCommitInfoStyle.d.ts     
npm notice 12.8kB  lib/tokens.d.ts                              
npm notice 3.0kB   lib/components/Toolbar.d.ts                  
npm notice 874B    lib/style/Toolbar.d.ts                       
npm notice 371B    lib/utils.d.ts                               
npm notice === Tarball Details === 
npm notice name:          @jupyterlab/git                         
npm notice version:       0.10.0                                  
npm notice filename:      jupyterlab-git-0.10.0.tgz               
npm notice package size:  163.0 kB                                
npm notice unpacked size: 784.3 kB                                
npm notice shasum:        3ae8c3ffd21bd0e20807449af519ae09db131d4f
npm notice integrity:     sha512-BgfkY1g99JpAF[...]6Q8u+IFv3AIlw==
npm notice total files:   173                                     
npm notice 
jupyterlab-git-0.10.0.tgz

> /usr/bin/npm pack /usr/local/src/jupyterlab-git
npm notice 
npm notice 📦  @jupyterlab/git@0.10.0
npm notice === Tarball Contents === 
npm notice 1.5kB   LICENSE                                      
npm notice 3.1kB   style/diff-common.css                        
npm notice 10.2kB  style/diff-nb.css                            
npm notice 1.4kB   style/diff-text.css                          
npm notice 1.1kB   style/icons.css                              
npm notice 383B    style/index.css                              
npm notice 2.2kB   style/variables.css                          
npm notice 1.0kB   lib/widgets/AuthorBox.js                     
npm notice 7.4kB   lib/components/BranchMenu.js                 
npm notice 2.7kB   lib/style/BranchMenu.js                      
npm notice 166B    lib/style/CloneButton.js                     
npm notice 3.4kB   lib/components/CommitBox.js                  
npm notice 2.5kB   lib/style/CommitBox.js                       
npm notice 1.5kB   lib/widgets/CredentialsBox.js                
npm notice 1.5kB   lib/components/diff/Diff.js                  
npm notice 2.2kB   lib/components/diff/DiffWidget.js            
npm notice 7.8kB   lib/components/FileItem.js                   
npm notice 4.5kB   lib/components/FileItemSimple.js             
npm notice 223B    lib/style/FileItemSimpleStyle.js             
npm notice 2.2kB   lib/style/FileItemStyle.js                   
npm notice 14.7kB  lib/components/FileList.js                   
npm notice 703B    lib/style/FileListStyle.js                   
npm notice 855B    lib/git.js                                   
npm notice 4.2kB   lib/widgets/gitClone.js                      
npm notice 3.1kB   lib/gitMenuCommands.js                       
npm notice 12.1kB  lib/components/GitPanel.js                   
npm notice 1.3kB   lib/style/GitPanel.js                        
npm notice 3.6kB   lib/widgets/gitPushPull.js                   
npm notice 4.1kB   lib/components/GitStage.js                   
npm notice 2.4kB   lib/components/GitStageSimple.js             
npm notice 2.1kB   lib/style/GitStageStyle.js                   
npm notice 751B    lib/widgets/GitWidget.js                     
npm notice 314B    lib/style/GitWidgetStyle.js                  
npm notice 664B    lib/components/HistorySideBar.js             
npm notice 295B    lib/style/HistorySideBarStyle.js             
npm notice 682B    lib/icons.js                                 
npm notice 4.4kB   lib/index.js                                 
npm notice 48.8kB  lib/components/diff/mergeview.js             
npm notice 252B    lib/components/diff/model.js                 
npm notice 29.9kB  lib/model.js                                 
npm notice 1.3kB   lib/components/diff/NBDiffHeader.js          
npm notice 10.5kB  lib/components/NewBranchDialog.js            
npm notice 5.3kB   lib/style/NewBranchDialog.js                 
npm notice 3.0kB   lib/components/PastCommitNode.js             
npm notice 1.4kB   lib/style/PastCommitNodeStyle.js             
npm notice 4.2kB   lib/components/diff/PlainTextDiff.js         
npm notice 2.3kB   lib/components/ResetDeleteSingleCommit.js    
npm notice 7.1kB   lib/components/SinglePastCommitInfo.js       
npm notice 2.9kB   lib/style/SinglePastCommitInfoStyle.js       
npm notice 235B    lib/tokens.js                                
npm notice 8.8kB   lib/components/Toolbar.js                    
npm notice 3.9kB   lib/style/Toolbar.js                         
npm notice 1.4kB   lib/utils.js                                 
npm notice 3.8kB   package.json                                 
npm notice 1.2kB   schema/plugin.json                           
npm notice 2.3kB   lib/widgets/AuthorBox.js.map                 
npm notice 13.0kB  lib/components/BranchMenu.js.map             
npm notice 4.9kB   lib/style/BranchMenu.js.map                  
npm notice 409B    lib/style/CloneButton.js.map                 
npm notice 6.3kB   lib/components/CommitBox.js.map              
npm notice 4.2kB   lib/style/CommitBox.js.map                   
npm notice 3.1kB   lib/widgets/CredentialsBox.js.map            
npm notice 3.2kB   lib/components/diff/Diff.js.map              
npm notice 4.0kB   lib/components/diff/DiffWidget.js.map        
npm notice 15.7kB  lib/components/FileItem.js.map               
npm notice 9.1kB   lib/components/FileItemSimple.js.map         
npm notice 617B    lib/style/FileItemSimpleStyle.js.map         
npm notice 4.1kB   lib/style/FileItemStyle.js.map               
npm notice 27.6kB  lib/components/FileList.js.map               
npm notice 1.4kB   lib/style/FileListStyle.js.map               
npm notice 1.7kB   lib/git.js.map                               
npm notice 8.0kB   lib/widgets/gitClone.js.map                  
npm notice 5.8kB   lib/gitMenuCommands.js.map                   
npm notice 21.5kB  lib/components/GitPanel.js.map               
npm notice 2.4kB   lib/style/GitPanel.js.map                    
npm notice 6.7kB   lib/widgets/gitPushPull.js.map               
npm notice 9.4kB   lib/components/GitStage.js.map               
npm notice 4.9kB   lib/components/GitStageSimple.js.map         
npm notice 3.8kB   lib/style/GitStageStyle.js.map               
npm notice 2.0kB   lib/widgets/GitWidget.js.map                 
npm notice 661B    lib/style/GitWidgetStyle.js.map              
npm notice 2.0kB   lib/components/HistorySideBar.js.map         
npm notice 670B    lib/style/HistorySideBarStyle.js.map         
npm notice 1.4kB   lib/icons.js.map                             
npm notice 8.6kB   lib/index.js.map                             
npm notice 105.8kB lib/components/diff/mergeview.js.map         
npm notice 1.2kB   lib/components/diff/model.js.map             
npm notice 52.2kB  lib/model.js.map                             
npm notice 2.2kB   lib/components/diff/NBDiffHeader.js.map      
npm notice 18.2kB  lib/components/NewBranchDialog.js.map        
npm notice 9.4kB   lib/style/NewBranchDialog.js.map             
npm notice 6.3kB   lib/components/PastCommitNode.js.map         
npm notice 2.8kB   lib/style/PastCommitNodeStyle.js.map         
npm notice 7.0kB   lib/components/diff/PlainTextDiff.js.map     
npm notice 4.5kB   lib/components/ResetDeleteSingleCommit.js.map
npm notice 13.1kB  lib/components/SinglePastCommitInfo.js.map   
npm notice 5.7kB   lib/style/SinglePastCommitInfoStyle.js.map   
npm notice 12.9kB  lib/tokens.js.map                            
npm notice 15.9kB  lib/components/Toolbar.js.map                
npm notice 7.0kB   lib/style/Toolbar.js.map                     
npm notice 2.7kB   lib/utils.js.map                             
npm notice 4.9kB   README.md                                    
npm notice 266B    style/icons/clear-white.svg                  
npm notice 267B    style/icons/deletions.svg                    
npm notice 302B    style/icons/desktop-white.svg                
npm notice 302B    style/icons/desktop.svg                      
npm notice 573B    style/icons/diff.svg                         
npm notice 242B    style/icons/discard-selected.svg             
npm notice 242B    style/icons/discard.svg                      
npm notice 1.4kB   style/icons/git-branch-white.svg             
npm notice 1.4kB   style/icons/git-branch.svg                   
npm notice 1.3kB   style/icons/git-clone.svg                    
npm notice 654B    style/icons/git-pull-white.svg               
npm notice 656B    style/icons/git-pull.svg                     
npm notice 647B    style/icons/git-push-white.svg               
npm notice 649B    style/icons/git-push.svg                     
npm notice 2.7kB   style/icons/git.svg                          
npm notice 289B    style/icons/insertions.svg                   
npm notice 173B    style/icons/move-file-down-hover.svg         
npm notice 175B    style/icons/move-file-down.svg               
npm notice 170B    style/icons/move-file-up-hover.svg           
npm notice 169B    style/icons/move-file-up.svg                 
npm notice 200B    style/icons/plus-white.svg                   
npm notice 185B    style/icons/plus.svg                         
npm notice 389B    style/icons/rewind-white.svg                 
npm notice 374B    style/icons/rewind.svg                       
npm notice 427B    lib/widgets/AuthorBox.d.ts                   
npm notice 2.7kB   lib/components/BranchMenu.d.ts               
npm notice 468B    lib/style/BranchMenu.d.ts                    
npm notice 47B     lib/style/CloneButton.d.ts                   
npm notice 2.1kB   lib/components/CommitBox.d.ts                
npm notice 252B    lib/style/CommitBox.d.ts                     
npm notice 470B    lib/widgets/CredentialsBox.d.ts              
npm notice 1.1kB   lib/components/diff/Diff.d.ts                
npm notice 732B    lib/components/diff/DiffWidget.d.ts          
npm notice 1.9kB   lib/components/FileItem.d.ts                 
npm notice 1.4kB   lib/components/FileItemSimple.d.ts           
npm notice 162B    lib/style/FileItemSimpleStyle.d.ts           
npm notice 719B    lib/style/FileItemStyle.d.ts                 
npm notice 3.5kB   lib/components/FileList.d.ts                 
npm notice 279B    lib/style/FileListStyle.d.ts                 
npm notice 274B    lib/git.d.ts                                 
npm notice 192B    lib/widgets/gitClone.d.ts                    
npm notice 731B    lib/gitMenuCommands.d.ts                     
npm notice 3.3kB   lib/components/GitPanel.d.ts                 
npm notice 318B    lib/style/GitPanel.d.ts                      
npm notice 1.1kB   lib/widgets/gitPushPull.d.ts                 
npm notice 1.7kB   lib/components/GitStage.d.ts                 
npm notice 867B    lib/components/GitStageSimple.d.ts           
npm notice 485B    lib/style/GitStageStyle.d.ts                 
npm notice 602B    lib/widgets/GitWidget.d.ts                   
npm notice 45B     lib/style/GitWidgetStyle.d.ts                
npm notice 536B    lib/components/HistorySideBar.d.ts           
npm notice 50B     lib/style/HistorySideBarStyle.d.ts           
npm notice 223B    lib/icons.d.ts                               
npm notice 354B    lib/index.d.ts                               
npm notice 4.4kB   lib/components/diff/mergeview.d.ts           
npm notice 782B    lib/components/diff/model.d.ts               
npm notice 9.3kB   lib/model.d.ts                               
npm notice 1.6kB   lib/components/diff/NbDiff.d.ts              
npm notice 401B    lib/components/diff/NBDiffHeader.d.ts        
npm notice 3.1kB   lib/components/NewBranchDialog.d.ts          
npm notice 1.0kB   lib/style/NewBranchDialog.d.ts               
npm notice 699B    lib/components/PastCommitNode.d.ts           
npm notice 536B    lib/style/PastCommitNodeStyle.d.ts           
npm notice 1.3kB   lib/components/diff/PlainTextDiff.d.ts       
npm notice 609B    lib/components/ResetDeleteSingleCommit.d.ts  
npm notice 998B    lib/components/SinglePastCommitInfo.d.ts     
npm notice 994B    lib/style/SinglePastCommitInfoStyle.d.ts     
npm notice 12.8kB  lib/tokens.d.ts                              
npm notice 3.0kB   lib/components/Toolbar.d.ts                  
npm notice 874B    lib/style/Toolbar.d.ts                       
npm notice 371B    lib/utils.d.ts                               
npm notice === Tarball Details === 
npm notice name:          @jupyterlab/git                         
npm notice version:       0.10.0                                  
npm notice filename:      jupyterlab-git-0.10.0.tgz               
npm notice package size:  163.0 kB                                
npm notice unpacked size: 784.3 kB                                
npm notice shasum:        3ae8c3ffd21bd0e20807449af519ae09db131d4f
npm notice integrity:     sha512-BgfkY1g99JpAF[...]6Q8u+IFv3AIlw==
npm notice total files:   173                                     
npm notice 
jupyterlab-git-0.10.0.tgz

Node v10.19.0

Yarn configuration loaded.
Building jupyterlab assets (build:dev:minimize)
> /usr/bin/npm pack /usr/local/src/jupyterlab-git
npm notice 
npm notice 📦  @jupyterlab/git@0.10.0
npm notice === Tarball Contents === 
npm notice 1.5kB   LICENSE                                      
npm notice 3.1kB   style/diff-common.css                        
npm notice 10.2kB  style/diff-nb.css                            
npm notice 1.4kB   style/diff-text.css                          
npm notice 1.1kB   style/icons.css                              
npm notice 383B    style/index.css                              
npm notice 2.2kB   style/variables.css                          
npm notice 1.0kB   lib/widgets/AuthorBox.js                     
npm notice 7.4kB   lib/components/BranchMenu.js                 
npm notice 2.7kB   lib/style/BranchMenu.js                      
npm notice 166B    lib/style/CloneButton.js                     
npm notice 3.4kB   lib/components/CommitBox.js                  
npm notice 2.5kB   lib/style/CommitBox.js                       
npm notice 1.5kB   lib/widgets/CredentialsBox.js                
npm notice 1.5kB   lib/components/diff/Diff.js                  
npm notice 2.2kB   lib/components/diff/DiffWidget.js            
npm notice 7.8kB   lib/components/FileItem.js                   
npm notice 4.5kB   lib/components/FileItemSimple.js             
npm notice 223B    lib/style/FileItemSimpleStyle.js             
npm notice 2.2kB   lib/style/FileItemStyle.js                   
npm notice 14.7kB  lib/components/FileList.js                   
npm notice 703B    lib/style/FileListStyle.js                   
npm notice 855B    lib/git.js                                   
npm notice 4.2kB   lib/widgets/gitClone.js                      
npm notice 3.1kB   lib/gitMenuCommands.js                       
npm notice 12.1kB  lib/components/GitPanel.js                   
npm notice 1.3kB   lib/style/GitPanel.js                        
npm notice 3.6kB   lib/widgets/gitPushPull.js                   
npm notice 4.1kB   lib/components/GitStage.js                   
npm notice 2.4kB   lib/components/GitStageSimple.js             
npm notice 2.1kB   lib/style/GitStageStyle.js                   
npm notice 751B    lib/widgets/GitWidget.js                     
npm notice 314B    lib/style/GitWidgetStyle.js                  
npm notice 664B    lib/components/HistorySideBar.js             
npm notice 295B    lib/style/HistorySideBarStyle.js             
npm notice 682B    lib/icons.js                                 
npm notice 4.4kB   lib/index.js                                 
npm notice 48.8kB  lib/components/diff/mergeview.js             
npm notice 252B    lib/components/diff/model.js                 
npm notice 29.9kB  lib/model.js                                 
npm notice 1.3kB   lib/components/diff/NBDiffHeader.js          
npm notice 10.5kB  lib/components/NewBranchDialog.js            
npm notice 5.3kB   lib/style/NewBranchDialog.js                 
npm notice 3.0kB   lib/components/PastCommitNode.js             
npm notice 1.4kB   lib/style/PastCommitNodeStyle.js             
npm notice 4.2kB   lib/components/diff/PlainTextDiff.js         
npm notice 2.3kB   lib/components/ResetDeleteSingleCommit.js    
npm notice 7.1kB   lib/components/SinglePastCommitInfo.js       
npm notice 2.9kB   lib/style/SinglePastCommitInfoStyle.js       
npm notice 235B    lib/tokens.js                                
npm notice 8.8kB   lib/components/Toolbar.js                    
npm notice 3.9kB   lib/style/Toolbar.js                         
npm notice 1.4kB   lib/utils.js                                 
npm notice 3.8kB   package.json                                 
npm notice 1.2kB   schema/plugin.json                           
npm notice 2.3kB   lib/widgets/AuthorBox.js.map                 
npm notice 13.0kB  lib/components/BranchMenu.js.map             
npm notice 4.9kB   lib/style/BranchMenu.js.map                  
npm notice 409B    lib/style/CloneButton.js.map                 
npm notice 6.3kB   lib/components/CommitBox.js.map              
npm notice 4.2kB   lib/style/CommitBox.js.map                   
npm notice 3.1kB   lib/widgets/CredentialsBox.js.map            
npm notice 3.2kB   lib/components/diff/Diff.js.map              
npm notice 4.0kB   lib/components/diff/DiffWidget.js.map        
npm notice 15.7kB  lib/components/FileItem.js.map               
npm notice 9.1kB   lib/components/FileItemSimple.js.map         
npm notice 617B    lib/style/FileItemSimpleStyle.js.map         
npm notice 4.1kB   lib/style/FileItemStyle.js.map               
npm notice 27.6kB  lib/components/FileList.js.map               
npm notice 1.4kB   lib/style/FileListStyle.js.map               
npm notice 1.7kB   lib/git.js.map                               
npm notice 8.0kB   lib/widgets/gitClone.js.map                  
npm notice 5.8kB   lib/gitMenuCommands.js.map                   
npm notice 21.5kB  lib/components/GitPanel.js.map               
npm notice 2.4kB   lib/style/GitPanel.js.map                    
npm notice 6.7kB   lib/widgets/gitPushPull.js.map               
npm notice 9.4kB   lib/components/GitStage.js.map               
npm notice 4.9kB   lib/components/GitStageSimple.js.map         
npm notice 3.8kB   lib/style/GitStageStyle.js.map               
npm notice 2.0kB   lib/widgets/GitWidget.js.map                 
npm notice 661B    lib/style/GitWidgetStyle.js.map              
npm notice 2.0kB   lib/components/HistorySideBar.js.map         
npm notice 670B    lib/style/HistorySideBarStyle.js.map         
npm notice 1.4kB   lib/icons.js.map                             
npm notice 8.6kB   lib/index.js.map                             
npm notice 105.8kB lib/components/diff/mergeview.js.map         
npm notice 1.2kB   lib/components/diff/model.js.map             
npm notice 52.2kB  lib/model.js.map                             
npm notice 2.2kB   lib/components/diff/NBDiffHeader.js.map      
npm notice 18.2kB  lib/components/NewBranchDialog.js.map        
npm notice 9.4kB   lib/style/NewBranchDialog.js.map             
npm notice 6.3kB   lib/components/PastCommitNode.js.map         
npm notice 2.8kB   lib/style/PastCommitNodeStyle.js.map         
npm notice 7.0kB   lib/components/diff/PlainTextDiff.js.map     
npm notice 4.5kB   lib/components/ResetDeleteSingleCommit.js.map
npm notice 13.1kB  lib/components/SinglePastCommitInfo.js.map   
npm notice 5.7kB   lib/style/SinglePastCommitInfoStyle.js.map   
npm notice 12.9kB  lib/tokens.js.map                            
npm notice 15.9kB  lib/components/Toolbar.js.map                
npm notice 7.0kB   lib/style/Toolbar.js.map                     
npm notice 2.7kB   lib/utils.js.map                             
npm notice 4.9kB   README.md                                    
npm notice 266B    style/icons/clear-white.svg                  
npm notice 267B    style/icons/deletions.svg                    
npm notice 302B    style/icons/desktop-white.svg                
npm notice 302B    style/icons/desktop.svg                      
npm notice 573B    style/icons/diff.svg                         
npm notice 242B    style/icons/discard-selected.svg             
npm notice 242B    style/icons/discard.svg                      
npm notice 1.4kB   style/icons/git-branch-white.svg             
npm notice 1.4kB   style/icons/git-branch.svg                   
npm notice 1.3kB   style/icons/git-clone.svg                    
npm notice 654B    style/icons/git-pull-white.svg               
npm notice 656B    style/icons/git-pull.svg                     
npm notice 647B    style/icons/git-push-white.svg               
npm notice 649B    style/icons/git-push.svg                     
npm notice 2.7kB   style/icons/git.svg                          
npm notice 289B    style/icons/insertions.svg                   
npm notice 173B    style/icons/move-file-down-hover.svg         
npm notice 175B    style/icons/move-file-down.svg               
npm notice 170B    style/icons/move-file-up-hover.svg           
npm notice 169B    style/icons/move-file-up.svg                 
npm notice 200B    style/icons/plus-white.svg                   
npm notice 185B    style/icons/plus.svg                         
npm notice 389B    style/icons/rewind-white.svg                 
npm notice 374B    style/icons/rewind.svg                       
npm notice 427B    lib/widgets/AuthorBox.d.ts                   
npm notice 2.7kB   lib/components/BranchMenu.d.ts               
npm notice 468B    lib/style/BranchMenu.d.ts                    
npm notice 47B     lib/style/CloneButton.d.ts                   
npm notice 2.1kB   lib/components/CommitBox.d.ts                
npm notice 252B    lib/style/CommitBox.d.ts                     
npm notice 470B    lib/widgets/CredentialsBox.d.ts              
npm notice 1.1kB   lib/components/diff/Diff.d.ts                
npm notice 732B    lib/components/diff/DiffWidget.d.ts          
npm notice 1.9kB   lib/components/FileItem.d.ts                 
npm notice 1.4kB   lib/components/FileItemSimple.d.ts           
npm notice 162B    lib/style/FileItemSimpleStyle.d.ts           
npm notice 719B    lib/style/FileItemStyle.d.ts                 
npm notice 3.5kB   lib/components/FileList.d.ts                 
npm notice 279B    lib/style/FileListStyle.d.ts                 
npm notice 274B    lib/git.d.ts                                 
npm notice 192B    lib/widgets/gitClone.d.ts                    
npm notice 731B    lib/gitMenuCommands.d.ts                     
npm notice 3.3kB   lib/components/GitPanel.d.ts                 
npm notice 318B    lib/style/GitPanel.d.ts                      
npm notice 1.1kB   lib/widgets/gitPushPull.d.ts                 
npm notice 1.7kB   lib/components/GitStage.d.ts                 
npm notice 867B    lib/components/GitStageSimple.d.ts           
npm notice 485B    lib/style/GitStageStyle.d.ts                 
npm notice 602B    lib/widgets/GitWidget.d.ts                   
npm notice 45B     lib/style/GitWidgetStyle.d.ts                
npm notice 536B    lib/components/HistorySideBar.d.ts           
npm notice 50B     lib/style/HistorySideBarStyle.d.ts           
npm notice 223B    lib/icons.d.ts                               
npm notice 354B    lib/index.d.ts                               
npm notice 4.4kB   lib/components/diff/mergeview.d.ts           
npm notice 782B    lib/components/diff/model.d.ts               
npm notice 9.3kB   lib/model.d.ts                               
npm notice 1.6kB   lib/components/diff/NbDiff.d.ts              
npm notice 401B    lib/components/diff/NBDiffHeader.d.ts        
npm notice 3.1kB   lib/components/NewBranchDialog.d.ts          
npm notice 1.0kB   lib/style/NewBranchDialog.d.ts               
npm notice 699B    lib/components/PastCommitNode.d.ts           
npm notice 536B    lib/style/PastCommitNodeStyle.d.ts           
npm notice 1.3kB   lib/components/diff/PlainTextDiff.d.ts       
npm notice 609B    lib/components/ResetDeleteSingleCommit.d.ts  
npm notice 998B    lib/components/SinglePastCommitInfo.d.ts     
npm notice 994B    lib/style/SinglePastCommitInfoStyle.d.ts     
npm notice 12.8kB  lib/tokens.d.ts                              
npm notice 3.0kB   lib/components/Toolbar.d.ts                  
npm notice 874B    lib/style/Toolbar.d.ts                       
npm notice 371B    lib/utils.d.ts                               
npm notice === Tarball Details === 
npm notice name:          @jupyterlab/git                         
npm notice version:       0.10.0                                  
npm notice filename:      jupyterlab-git-0.10.0.tgz               
npm notice package size:  163.0 kB                                
npm notice unpacked size: 784.3 kB                                
npm notice shasum:        3ae8c3ffd21bd0e20807449af519ae09db131d4f
npm notice integrity:     sha512-BgfkY1g99JpAF[...]6Q8u+IFv3AIlw==
npm notice total files:   173                                     
npm notice 
jupyterlab-git-0.10.0.tgz

> /usr/bin/npm pack /usr/local/src/jupyter-server-proxy/jupyterlab-server-proxy
npm WARN lifecycle @jupyterlab/server-proxy@2.0.1~prepare: cannot run in wd @jupyterlab/server-proxy@2.0.1 npm run clean && npm run build (wd=/usr/local/src/jupyter-server-proxy/jupyterlab-server-proxy)
npm notice 
npm notice 📦  @jupyterlab/server-proxy@2.0.1
npm notice === Tarball Contents === 
npm notice 0     style/index.css
npm notice 1.8kB lib/index.js   
npm notice 1.2kB package.json   
npm notice 469B  README.md      
npm notice 248B  lib/index.d.ts 
npm notice === Tarball Details === 
npm notice name:          @jupyterlab/server-proxy                
npm notice version:       2.0.1                                   
npm notice filename:      jupyterlab-server-proxy-2.0.1.tgz       
npm notice package size:  1.6 kB                                  
npm notice unpacked size: 3.8 kB                                  
npm notice shasum:        165fca169f570ae22e07f40a8c30203fa297ee27
npm notice integrity:     sha512-s9VODKfWqbh0L[...]8xNdSppUQ5HHw==
npm notice total files:   5                                       
npm notice 
jupyterlab-server-proxy-2.0.1.tgz

The extension "jupyterlab_vim" is outdated.

The extension "jupyterlab-drawio" is outdated.

> node /opt/tljh/user/lib/python3.6/site-packages/jupyterlab/staging/yarn.js install --non-interactive
yarn install v1.21.1
[1/5] Validating package.json...
[2/5] Resolving packages...
success Already up-to-date.
Done in 1.34s.

> node /opt/tljh/user/lib/python3.6/site-packages/jupyterlab/staging/yarn.js yarn-deduplicate -s fewer --fail
yarn run v1.21.1
$ /opt/tljh/user/share/jupyter/lab/staging/node_modules/.bin/yarn-deduplicate -s fewer --fail
Done in 0.78s.

> node /opt/tljh/user/lib/python3.6/site-packages/jupyterlab/staging/yarn.js run build:dev:minimize
yarn run v1.21.1
$ jlpm run build:dev
$ jlpm run build
$ webpack
ModuleNotFoundError: Module not found: Error: Can't resolve './NbDiff' in '/opt/tljh/user/share/jupyter/lab/staging/node_modules/@jupyterlab/git/lib/components/diff'
    at factory.create (/opt/tljh/user/share/jupyter/lab/staging/node_modules/webpack/lib/Compilation.js:925:10)
    at factory (/opt/tljh/user/share/jupyter/lab/staging/node_modules/webpack/lib/NormalModuleFactory.js:401:22)
    at resolver (/opt/tljh/user/share/jupyter/lab/staging/node_modules/webpack/lib/NormalModuleFactory.js:130:21)
    at asyncLib.parallel (/opt/tljh/user/share/jupyter/lab/staging/node_modules/webpack/lib/NormalModuleFactory.js:224:22)
    at /opt/tljh/user/share/jupyter/lab/staging/node_modules/neo-async/async.js:2830:7
    at /opt/tljh/user/share/jupyter/lab/staging/node_modules/neo-async/async.js:6877:13
    at normalResolver.resolve (/opt/tljh/user/share/jupyter/lab/staging/node_modules/webpack/lib/NormalModuleFactory.js:214:25)
    at doResolve (/opt/tljh/user/share/jupyter/lab/staging/node_modules/enhanced-resolve/lib/Resolver.js:184:12)
    at hook.callAsync (/opt/tljh/user/share/jupyter/lab/staging/node_modules/enhanced-resolve/lib/Resolver.js:238:5)
    at _fn0 (eval at create (/opt/tljh/user/share/jupyter/lab/staging/node_modules/tapable/lib/HookCodeFactory.js:33:10), <anonymous>:15:1)
    at resolver.doResolve (/opt/tljh/user/share/jupyter/lab/staging/node_modules/enhanced-resolve/lib/UnsafeCachePlugin.js:37:5)
    at hook.callAsync (/opt/tljh/user/share/jupyter/lab/staging/node_modules/enhanced-resolve/lib/Resolver.js:238:5)
    at _fn0 (eval at create (/opt/tljh/user/share/jupyter/lab/staging/node_modules/tapable/lib/HookCodeFactory.js:33:10), <anonymous>:15:1)
    at hook.callAsync (/opt/tljh/user/share/jupyter/lab/staging/node_modules/enhanced-resolve/lib/Resolver.js:238:5)
    at _fn0 (eval at create (/opt/tljh/user/share/jupyter/lab/staging/node_modules/tapable/lib/HookCodeFactory.js:33:10), <anonymous>:27:1)
    at resolver.doResolve (/opt/tljh/user/share/jupyter/lab/staging/node_modules/enhanced-resolve/lib/DescriptionFilePlugin.js:42:38)
    at hook.callAsync (/opt/tljh/user/share/jupyter/lab/staging/node_modules/enhanced-resolve/lib/Resolver.js:238:5)
    at _fn43 (eval at create (/opt/tljh/user/share/jupyter/lab/staging/node_modules/tapable/lib/HookCodeFactory.js:33:10), <anonymous>:16:1)
    at hook.callAsync (/opt/tljh/user/share/jupyter/lab/staging/node_modules/enhanced-resolve/lib/Resolver.js:238:5)
    at _fn0 (eval at create (/opt/tljh/user/share/jupyter/lab/staging/node_modules/tapable/lib/HookCodeFactory.js:33:10), <anonymous>:27:1)
    at resolver.doResolve (/opt/tljh/user/share/jupyter/lab/staging/node_modules/enhanced-resolve/lib/DescriptionFilePlugin.js:42:38)
    at hook.callAsync (/opt/tljh/user/share/jupyter/lab/staging/node_modules/enhanced-resolve/lib/Resolver.js:238:5)
    at _fn1 (eval at create (/opt/tljh/user/share/jupyter/lab/staging/node_modules/tapable/lib/HookCodeFactory.js:33:10), <anonymous>:16:1)
    at hook.callAsync (/opt/tljh/user/share/jupyter/lab/staging/node_modules/enhanced-resolve/lib/Resolver.js:238:5)
    at _fn0 (eval at create (/opt/tljh/user/share/jupyter/lab/staging/node_modules/tapable/lib/HookCodeFactory.js:33:10), <anonymous>:15:1)
    at fs.stat (/opt/tljh/user/share/jupyter/lab/staging/node_modules/enhanced-resolve/lib/DirectoryExistsPlugin.js:22:13)
    at process.nextTick (/opt/tljh/user/share/jupyter/lab/staging/node_modules/enhanced-resolve/lib/CachedInputFileSystem.js:73:15)
    at process._tickCallback (internal/process/next_tick.js:61:11)
resolve './NbDiff' in '/opt/tljh/user/share/jupyter/lab/staging/node_modules/@jupyterlab/git/lib/components/diff'
  using description file: /opt/tljh/user/share/jupyter/lab/staging/node_modules/@jupyterlab/git/package.json (relative path: ./lib/components/diff)
    Field 'browser' doesn't contain a valid alias configuration
    using description file: /opt/tljh/user/share/jupyter/lab/staging/node_modules/@jupyterlab/git/package.json (relative path: ./lib/components/diff/NbDiff)
      no extension
        Field 'browser' doesn't contain a valid alias configuration
        /opt/tljh/user/share/jupyter/lab/staging/node_modules/@jupyterlab/git/lib/components/diff/NbDiff doesn't exist
      .wasm
        Field 'browser' doesn't contain a valid alias configuration
        /opt/tljh/user/share/jupyter/lab/staging/node_modules/@jupyterlab/git/lib/components/diff/NbDiff.wasm doesn't exist
      .mjs
        Field 'browser' doesn't contain a valid alias configuration
        /opt/tljh/user/share/jupyter/lab/staging/node_modules/@jupyterlab/git/lib/components/diff/NbDiff.mjs doesn't exist
      .js
        Field 'browser' doesn't contain a valid alias configuration
        /opt/tljh/user/share/jupyter/lab/staging/node_modules/@jupyterlab/git/lib/components/diff/NbDiff.js doesn't exist
      .json
        Field 'browser' doesn't contain a valid alias configuration
        /opt/tljh/user/share/jupyter/lab/staging/node_modules/@jupyterlab/git/lib/components/diff/NbDiff.json doesn't exist
      as directory
        /opt/tljh/user/share/jupyter/lab/staging/node_modules/@jupyterlab/git/lib/components/diff/NbDiff doesn't exist
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

JupyterLab failed to build
Traceback (most recent call last):

  File "/opt/tljh/user/lib/python3.6/site-packages/jupyterlab/debuglog.py", line 47, in debug_logging
    yield

  File "/opt/tljh/user/lib/python3.6/site-packages/jupyterlab/labextensions.py", line 105, in start
    command=command, app_options=app_options)

  File "/opt/tljh/user/lib/python3.6/site-packages/jupyterlab/commands.py", line 460, in build
    command=command, clean_staging=clean_staging)

  File "/opt/tljh/user/lib/python3.6/site-packages/jupyterlab/commands.py", line 661, in build
    raise RuntimeError(msg)

RuntimeError: JupyterLab failed to build

Exiting application: jupyter

Also for additional context (if useful):

$ pip --version
pip 20.0.2 from /opt/tljh/user/lib/python3.6/site-packages/pip (python 3.6)

$ jupyter --version
jupyter core     : 4.6.3
jupyter-notebook : 6.0.3
qtconsole        : not installed
ipython          : 7.13.0
ipykernel        : 5.2.0
jupyter client   : 6.1.1
jupyter lab      : 2.0.1
nbconvert        : 5.6.1
ipywidgets       : 7.5.1
nbformat         : 5.0.4
traitlets        : 4.3.3

$ jupyter lab --version
2.0.1

$ jupyter-labextension list
JupyterLab v2.0.1
Known labextensions:
   app dir: /opt/tljh/user/share/jupyter/lab
        @jupyter-widgets/jupyterlab-manager v2.0.0  enabled  OK
        @jupyterlab/git v0.10.0 disabled OK*
        @jupyterlab/hub-extension v2.0.2  enabled  OK
        @jupyterlab/server-proxy v2.0.1  enabled  OK*
        @jupyterlab/toc v3.0.0  enabled  OK
        @krassowski/jupyterlab_go_to_definition v1.0.0  enabled  OK
        @ryantam626/jupyterlab_code_formatter v1.2.2  enabled  OK
        jupyterlab-drawio v0.6.0  enabled   X
        jupyterlab-jupytext v1.2.1  enabled  OK
        jupyterlab-spreadsheet v0.3.1  enabled  OK
        jupyterlab_vim v0.11.0 disabled  X
        nbdime-jupyterlab v2.0.0  enabled  OK

   The following extension are outdated:
        jupyterlab-drawio
        jupyterlab_vim
        
   Consider running "jupyter labextension update --all" to check for updates.


   local extensions:
        @jupyterlab/git: /usr/local/src/jupyterlab-git
        @jupyterlab/server-proxy: /usr/local/src/jupyter-server-proxy/jupyterlab-server-proxy

Build recommended, please run `jupyter lab build`:
    jupyterlab-spreadsheet needs to be included in build
    @ryantam626/jupyterlab_code_formatter needs to be included in build
    @jupyter-widgets/jupyterlab-manager needs to be included in build
    @jupyterlab/toc needs to be included in build
    @jupyterlab/git needs to be included in build
    nbdime-jupyterlab needs to be included in build
    @jupyterlab/server-proxy needs to be included in build
    @krassowski/jupyterlab_go_to_definition needs to be included in build
    jupyterlab-jupytext needs to be included in build
    @jupyterlab/hub-extension changed from ~2.0.2 to file:../extensions/jupyterlab-hub-extension-2.0.2.tgz

@btel
Copy link
Contributor

btel commented Apr 17, 2020

I confirm that it works for with jupyterlab 2.1.0. Can I help in merging it with master?

Installed with:

git clone https://github.com/blink1073/jupyterlab-git.git
cd jupyterlab-git
git checkout jlab-2.0
pip install -e .
jupyter serverextension enable --py jupyterlab_git
jlpm build
jupyter labextension link .
jupyter lab build

Versions:

jupyter --version
jupyter core     : 4.6.3
jupyter-notebook : 6.0.3
qtconsole        : not installed
ipython          : 7.13.0
ipykernel        : 5.2.1
jupyter client   : 6.1.3
jupyter lab      : 2.1.0
nbconvert        : 5.6.1
ipywidgets       : not installed
nbformat         : 5.0.5
traitlets        : 4.3.3
jupyter labextension list
JupyterLab v2.1.0
Known labextensions:
   app dir: /home/bartosz/.local/share/jupyter/lab
        @jupyterlab/git v0.10.0  enabled  OK*
        nbdime-jupyterlab v2.0.0  enabled  OK

   local extensions:
        @jupyterlab/git: /home/bartosz/datascience_toolbox/jupyterlab-git

@fcollonval
Copy link
Member

@btel if you can rebase this branch on master I can review it.

@btel
Copy link
Contributor

btel commented Apr 18, 2020

I am on it. I will open a new PR with rebased content.

# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants