-
Notifications
You must be signed in to change notification settings - Fork 355
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
can't build the frontend #800
Comments
What version of TypeScript are you using? If its 4.7, looks like you could downgrade to 4.6, or update your ts-node package version as you mentioned (https://stackoverflow.com/questions/72488958/false-expression-non-string-value-passed-to-ts-resolvetypereferencedirective) |
Downgraded TS to 4.6.4 and ts-node to 10.8.1. Unfortunately it didn't help. Very strange.
|
Ended up using gunicorn to run it and it worked. Not sure why. Btw, I also tried the Dockerfile and it failed w/ the same error. So I don't think the issue is with my setup. |
So I got the 404 error when running 'python -m lit_nlp.examples.quickstart_sst_demo --port=5432'
OK, need to build the frontend. After setting up the python env following the setup guide, I got the following error:
I'm using a fresh Ubuntu 22.04 image and yarn 1.22.19. A quick Google search on that error says something about ts-node version being out of date. I'm not sure how to fix this.
The text was updated successfully, but these errors were encountered: