Lux-AI-Challenge / Lux-Design-S1

Home to the design and engine of the @Lux-AI-Challenge Season 1, hosted on @kaggle
https://lux-ai.org/
Apache License 2.0
897 stars 152 forks source link

sample_replay.json is a previous version #82

Closed coding-to-music closed 3 years ago

coding-to-music commented 3 years ago

I would like to use the default viewer https://2021vis.lux-ai.org/

to view the sample_replay.json

But I get this message:

Screenshot 2021-07-05 5 45 04 PM

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
StoneT2000 commented 3 years ago

oh yeah that sample replay is outdated.

You are also not meant to build the viewer. Just download the 1.0.0 version of the viewer from our releases in the viewer repo