Hi bro , I also use Strapi v4 on Plesk and it works so well correctly but if i change to v5 it doesn’t work well with the server that you said …it doestn work .
Sorry to hear that. Are you upgrading an existing project or starting a new one? Maybe you can post the error message you are getting?
My one is a new project starting on Strapi v5 about 2 weeks ago on the same Plesk server as my v4 ones, and its working fine. I haven’t done an upgrade yet.
it’s a new project and my problem is in “server.js” , it changed for V5 and I don’t know how to do it. maybe you can help me to solve this. I am also using plesk - STRAPI v5, it’s a new project, I created a new database mysql and I joined it .my problem is with the “server.js” … could you say me what can I put there in server.js for Strapi v5?
Here is the contents of my server.js
file on my new Strapi v5 project.
It is in the root of the project.
const strapi = require('@strapi/strapi');
const app = strapi.createStrapi({ distDir: './dist' });
app.start();
:it’s weird. I also put it like this in my server - Strapi V5 - PLesk and it doesnt work. :((
hey bro,it already works well for me the problem is that you are working with typescript with Strapi and that doesn’t work for me, however I am work it without typescript so i was looking for solutions and chatgpt helped me so much , this code worked for me in the server.js — >>
const strapi = require(‘@strapi/strapi’);
const app = strapi.createStrapi({
autoReload: false, // Desactiva la recarga automática
serveAdminPanel: true, // Habilita el panel de administración
});
app.start();
hi bro one question. how do you use Strapi cms? you use it with nextjs react o anguar
I’ve used it with Angular.