10 months ago
Hello, I'm looking for help, when I want to switch my strapi to development mode (by default it's in prod via the template that's provided), my api isn't happy and keeps displaying ‘Warning: An error occurred while requesting the API’.
It was working in production mode when i did deploy it for the first time, now if i wanna register, it giving me the same everytime
0 Replies
10 months ago
you do not want to run Strapi in development mode when on Railway, due to how strapi is designed to be used that will cause data loss.
please read the overview on how to run Strapi in development mode locally.
so, does this mean when we want to add content to our strapi instance we have to run a local version instead which will be 'development mode' ?
10 months ago
correct
Hi! Sorry for bringing this up again. I'm following that for local development and I'm facing an issue running railway run npm run develop
and I believe it is because of the internal reference to the database.
I'm not familiarized with railway cli, any suggestions?