neherlab / pan-genome-visualization

Visualization of the pan-genome output by panX
https://pangenome.ch
Other
61 stars 14 forks source link

about software finding no module #5

Closed longzhangnation closed 4 years ago

longzhangnation commented 4 years ago

After gitting the pan_genome_visualization from this git hub ,installing the npm and starting the npm. I open the firefox Browser and type the URL 'http://localhost:8000/TestSet', it shows nothing to visualize. I check the log of the software, and it seems to find one module missing like this. ''' open the web page http://localhost:8000/ in your browser webpack built 211ed476b5e271d3af87 in 9408ms Hash: 211ed476b5e271d3af87 Version: webpack 2.7.0 Time: 9408ms Asset Size Chunks Chunk Names client_bundle.js 4.1 MB 0 client_bundle homepage.js 1.3 MB 1 homepage chunk {0} client_bundle.js (client_bundle) 3.32 MB [entry] [rendered] [1] ./~/d3/d3.js 338 kB {0} {1} [built] [5] ./public/javascripts/global.js 2.64 kB {0} [built] [12] ./~/jquery/dist/jquery.js 280 kB {0} {1} [built] [15] ./public/javascripts/tooltips.js 8.33 kB {0} [built] [21] ./~/datatables.net/js/jquery.dataTables.js 449 kB {0} {1} [built] [23] ./public/phyloTree/src/updateTree.js 7.29 kB {0} [built] [28] ./public/javascripts/data_path.js 1.01 kB {0} [built] [29] ./public/javascripts/tree-init.js 15.9 kB {0} [built] [44] (webpack)-hot-middleware/client.js 7.87 kB {0} {1} [built] [63] (webpack)/buildin/module.js 517 bytes {0} {1} [built] [111] ./~/strip-ansi/index.js 161 bytes {0} {1} [built] [114] (webpack)-hot-middleware/client-overlay.js 2.22 kB {0} {1} [built] [115] (webpack)-hot-middleware/process-update.js 4.45 kB {0} {1} [built] [216] ./public/javascripts/render_viewer.js 9.52 kB {0} [built] [559] multi webpack-hot-middleware/client ./public/javascripts/render_viewer.js 40 bytes {0} [built]

WARNING in ./~/bootstrap-multiselect/dist/js/bootstrap-multiselect.js 48:48-55 Critical dependency: require function is used in a way in which dependencies cannot be statically extracted

WARNING in ./~/bootstrap-multiselect/dist/js/bootstrap-multiselect.js 48:84-91 Critical dependency: require function is used in a way in which dependencies cannot be statically extracted

WARNING in webpack: Using NoErrorsPlugin is deprecated. Use NoEmitOnErrorsPlugin instead.

ERROR in ./~/bootstrap-multiselect/dist/js/bootstrap-multiselect.js Module not found: Error: Can't resolve 'knockout' in '/home/zhanglong/Desktop/panX/pan-genome-visualization/node_modules/bootstrap-multiselect/dist/js' @ ./~/bootstrap-multiselect/dist/js/bootstrap-multiselect.js 51:8-47 @ ./public/javascripts/datatable-gc.js @ ./public/javascripts/chartsAndClusterTable.js @ ./public/javascripts/render_viewer.js @ multi webpack-hot-middleware/client ./public/javascripts/render_viewer.js (node:2197) [DEP0066] DeprecationWarning: OutgoingMessage.prototype._headers is deprecated GET /images/pan-blue.png 304 1091.197 ms - - ''' and in earlier time I don't need to do any analysis and could use the TestSet data as a demo on my machine. When i reinstall my virtual machine , It suddenly goes wrong . I did not know how to fix it .So anyone can help me ?

rneher commented 4 years ago

This looks like the exact same problem as issue #3 please have a look.

longzhangnation commented 4 years ago

@rneher,Thanks for your reply, and the problem is resolved as you say.