Strapi PM2 GraphQL Error

Also, I’ve inspected your react code and found this:

const apiUrl = process.env.API_URL || 'http://localhost:1337';

Do you have configured API_URL in env? If no, then add it with url of the backend.