When I try to manually build the previous version of the viewer I get the messages mentioned in this issue Install/setup dev questions
Here is another example:
root@docker-ubuntu-s-1vcpu-2gb-nyc1-01:~/ap/viewer-ver1/LuxViewer2021-1.0.0# npm i -g serve
/root/ap/emsdk/node/14.15.5_64bit/bin/serve -> /root/ap/emsdk/node/14.15.5_64bit/lib/node_modules/serve/bin/serve.js
+ serve@12.0.0
updated 1 package in 4.665s
root@docker-ubuntu-s-1vcpu-2gb-nyc1-01:~/ap/viewer-ver1/LuxViewer2021-1.0.0# serve dist
ERROR: Cannot copy to clipboard: Both xsel and fallback failed
┌───────────────────────────────────┐
│ │
│ Serving! │
│ │
│ Local: http://localhost:5000 │
│ │
└───────────────────────────────────┘
^C
INFO: Gracefully shutting down. Please wait...
root@docker-ubuntu-s-1vcpu-2gb-nyc1-01:~/ap/viewer-ver1/LuxViewer2021-1.0.0# cp -r assets/ dist
root@docker-ubuntu-s-1vcpu-2gb-nyc1-01:~/ap/viewer-ver1/LuxViewer2021-1.0.0# serve dist
root@docker-ubuntu-s-1vcpu-2gb-nyc1-01:~/ap/viewer-ver1/LuxViewer2021-1.0.0# npm run dev
> lux-viewer-2021@1.0.0 dev /root/ap/viewer-ver1/LuxViewer2021-1.0.0
> webpack --mode development && webpack-dev-server --mode development --devtool source-map
sh: 1: webpack: not found
npm ERR! code ELIFECYCLE
npm ERR! syscall spawn
npm ERR! file sh
npm ERR! errno ENOENT
npm ERR! lux-viewer-2021@1.0.0 dev: `webpack --mode development && webpack-dev-server --mode development --devtool source-map`
npm ERR! spawn ENOENT
npm ERR!
npm ERR! Failed at the lux-viewer-2021@1.0.0 dev script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm WARN Local package.json exists, but node_modules missing, did you mean to install?
npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2021-07-05T21_41_41_040Z-debug.log
I would like to use the default viewer https://2021vis.lux-ai.org/
to view the sample_replay.json
But I get this message:
When I try to manually build the previous version of the viewer I get the messages mentioned in this issue Install/setup dev questions
Here is another example: