Troubleshooting
Common errors and their solutions
Project won't start because of Error occurred while proxying request localhost:8080/graphql ...?
- Run
yarn workspace @app/db prisma generate. - Run
yarn g:dev-serverto check if the server starts up without any errors. - Ensure you have nvm installed and/or follow this guide to upgrade your node to LTS.
- Open a fresh terminal and run
yarn g:dev.
Subject/type may not be empty error when trying to commit for the first time?
- Format your commit message as
addition(scope): what addition you madewhere addition can befix,feature,refactor, etc.(scope)can be(global),(frontend),(backend),(fullstack),(docs). Your message should be a string of all lowercase letters that isn't sentence-case, start-case, pascal-case, or upper-case.
Can't reach database server at localhost:3003 error when trying to log in or register?
- Verify that Docker is running.
- Run
yarn g:start-dbto start db. - Run
yarn g:dev.
Still can't log in or register and the server exits with code 0 in the terminal?
- Check your node version by running
yarn node -vand verify it's Node LTS. - Run
yarn workspace @app/server prisma generate. - Run
yarn g:dev.
Can't log in or register and the error public.User does not exist in the current database shows?
- Run
yarn workspace @app/server prisma generate. - Run
yarn g:start-dbto start db. - Run
docker-compose down && docker volume prune && docker container prune && docker image pruneto clear current db and all docker images. Alternatively, you could rundocker system prune - Run
yarn g:start-dbto start db again. - Run
yarn workspace @app/server prisma db push --preview-featureto sync the db with the schema. - Run
yarn g:dev.