“Finally fixed the issue by running. ‘npx strapi develop’ apparently the command ‘npm run develop’ wasn’t doing something that it should have been.”
I have tried this it does’nt work for me.
As said setting NODE_ENV = development works run command
NODE_ENV=development npx strapi develop
This works for me.