Strapi Admin showing strapi is in production despite using development mode

Finally fixed the issue by running. ‘npx strapi develop’ apparently the command ‘npm run develop’ wasn’t doing something that it should have been.