![]() ![]() ![]() □ it is most likely you have another program like postgres installed and running with 5433 port. □ the solution is easy, just wait and refresh the page or increase delay of wait-prisma npm scripts in package.json. □ Node fail or haven't establish the connection with Prisma server Graphql Playground Shows Blank Page After dev or test Setup □ if your config is correct but has this error, wait a while and keep trying if not check your. □ mostly when running test or prod, could be many reason, most possible reason is Node unable to connect with Prima due to. □ will add checking mechanism in future. □ the solution is easy, increase delay of wait-prisma scripts in package.json. □ mostly when running test or prod, this is due to Node server is ready before Prisma server and fail to deploy schema, this happen if your server is sleeping and prisma need time to establish connection. □ run npm cache clean -force to fix it "Project default$default Not Found" Troubleshooting Unexpected End of JSON Input During Installation The scripts may look overwhelming, but it is actually repetitive in pattern, what the scripts do are also very straight forward, they are like the scripts that you frequently use, just more organized and accessible. ![]() config folder, read comments in dev.env to have better understanding what each variable does. Most configurations are exposed already exposed in. ⚠️ important: do not run jest on production because jest delete database in the beginning of run, that is why there is no jest-prod config file! Configuration □ Jest run on Prisma endpoint not Node endpoint config/jest.env, change the value of PRISMA_ENDPOINT to match dev or test. □ prod start, prod-deploy and prod-schema automatically run in container and doesn't work outside the of the container(remember unlike dev environment, test and prod Node is running in container) Jest Environment Quick Start ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |