-
-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
Issue with building frontend app/node_modules/.staging/ -- Anyone know why my frontend/npm is failing during local docker-compose build? #605
Comments
EDIT2: Ok. So I can run my tests and npm server locally. But npm build (local) still fails. The build scripts builds via docker so I believe it's the same issue as the OP From the logs, it seems like an issue with Terser potentially? Gonna keep poking around and checking other issues on this repo, and probably build out a fastapi app from scratch-- using this repo as a template (I have previous fastapi JsonSchema projects but I do like the layout of this. Anyway, here are logs when I cd into frontend and run
|
Downgraded to node v16 LTS and was able to cd into frontend and do my
npm run serve
and deploy locally. However when I try to deploy everything via docker-compose I am still getting issues with the frontend. Logs below:EDIT: perhaps it's a node version mismatch? Or maybe I need to run a script to generate what should be present in the
node_modules/.staging/*
dirThe text was updated successfully, but these errors were encountered: