CambioML / pykoi-rlhf-finetuned-transformers

pykoi: Active learning in one unified interface
https://www.cambioml.com
Apache License 2.0
407 stars 43 forks source link

frontend app not working #42

Closed freemjstudio closed 11 months ago

freemjstudio commented 1 year ago

Hi, I like your repo and I'd like to contribute & test pykoi.

I've installed pykoi, conda, and git repo and I've got some problems with running frontend app I assume it's the matter of the Node.js version and I'd like to know which version is compatible with frontend Node

Thank you image

jwilber commented 1 year ago

Ty! Did you run npm install first?

e.g.

git clone https://github.com/CambioML/pykoi.git
cd pykoi/pykoi/frontend
npm run install
npm run build
freemjstudio commented 1 year ago

yes I tried it !

and My environment is ec2 Ubuntu 20.04

goldmermaid commented 1 year ago

I tested on node v18.16.1 with below command. npm install instead of npm run install is the proper command to install all frontend required dependencies include vite that throw you the error message.

cd pykoi/pykoi/frontend
npm install
npm run build

Can you try it again and let us know whether it works for u?

goldmermaid commented 11 months ago

Close the ticket.

goldmermaid commented 11 months ago

issue should be resolved now.