sagemathinc / cocalc

CoCalc: Collaborative Calculation in the Cloud
https://CoCalc.com
Other
1.17k stars 216 forks source link

draw.io for jupyter lab #3586

Closed haraldschilly closed 1 week ago

haraldschilly commented 5 years ago

see https://groups.google.com/d/topic/cocalc/Ux1GlCaRiso/discussion

haraldschilly commented 5 years ago

first attempt failed. reminds me of another yarn-based installation, where webpack was missing.

> node /usr/local/lib/python3.6/dist-packages/jupyterlab/staging/yarn.js install                                                   
yarn install v1.9.4                                                                                                                
info No lockfile found.                                                                                                            
warning package-lock.json found. Your project contains lock files generated by tools other than Yarn. It is advised not to mix pack
age managers in order to avoid resolution inconsistencies caused by unsynchronized lock files. To clear this warning, remove packag
e-lock.json.                                                                                                                       
[1/5] Validating package.json...                                                                                                   
[2/5] Resolving packages...                                                                                                        
warning css-loader > cssnano > autoprefixer > browserslist@1.7.7: Browserslist 2 could fail on reading Browserslist >3.0 config use
d in other tools.                                                                                                                  
warning css-loader > cssnano > postcss-merge-rules > browserslist@1.7.7: Browserslist 2 could fail on reading Browserslist >3.0 con
fig used in other tools.                                                                                                           
warning css-loader > cssnano > postcss-merge-rules > caniuse-api > browserslist@1.7.7: Browserslist 2 could fail on reading Browser
slist >3.0 config used in other tools.                                                                                             
[3/5] Fetching packages...                                                                                                         
info fsevents@1.2.7: The platform "linux" is incompatible with this module.                                                        
info "fsevents@1.2.7" is an optional dependency and failed compatibility check. Excluding it from installation.                    
[4/5] Linking dependencies...                                                                                                      
warning "@jupyterlab/vdom-extension > @nteract/transform-vdom@1.1.1" has incorrect peer dependency "react@^15.6.1".                
[5/5] Building fresh packages...                                                                                                   
success Saved lockfile.                                                                                                            
warning Your current version of Yarn is out of date. The latest version is "1.13.0", while you're on "1.9.4".                      
Done in 53.87s.                                                                                                                    
> node /usr/local/lib/python3.6/dist-packages/jupyterlab/staging/yarn.js run build                                                 
yarn run v1.9.4                                                                                                                    
$ webpack                                                                                                                          
/bin/sh: 1: webpack: not found                                                                                                     
error Command failed with exit code 127.                                                                                           
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.                                               
williamstein commented 1 week ago

better to improve our whiteboard