System Information
- Strapi Version: 4.11.2
- Operating System: win 10
- Database: mySql
- Node Version: 17.9.1 on my hosting
- NPM Version: 8.11.0
Good morning
I searched the forums and other topics but nothing works from the ideas given there. I am using strapi on regular hosting on which I have installed myself node.js and npm. Everything works until I want to fire strapi as development mode when I do I get a message that strapi has been enabled in that mode but when I go to my url without /admin it says PRODUCTION anyway. On localhost:1337 development mode fires up correctly. I tried and reset the whole database, I used npm build, I used EVN npm build none of these things helped. I need to find a solution how to fire up dev mode on my normal address and not on localhost. I need this because I want to show the client how to use the dashboard and I won’t teach him how to install node.js/vsc etc. because it misses the point. Is there any way to force development mode instead of production? I’m really asking for help because I’m already losing hope that this goes somehow.
Greetings
EDIT.
I forgot to add that I have an app.js file created in the main folder because my hosting requires it. In this file I have this code:
const strapi = require(’@strapi/strapi’);
strapi(/* {…} */).start();