benlau6/fastapi-fullstack

error npm run build:prod"

Opened this issue · 1 comments

wi-wi commented

on linux mint I get this:

ERROR: failed to solve: process "/bin/sh -c npm run build:prod" did not complete successfully: exit code: 1

Most of the packages this repo depending on are outdated, so I strongly recommend you look for something else.

I tried to solve it in a short time but cannot get it done. If you really want to solve the problem, try one of the following method.

  • Fix the frontend
  • Remove or replace the frontend
    • Remove the frontend service in docker-compose.yml, docker-compose.prod.yml and docker-compose.override.yml
    • Then you can use the backend directly, or attach a frontend to it if you wish. SvelteKit is a great option.