How do i connect Heroku to strapi?

This would be your problem, can you change your package.json under engines to:

  "engines": {
    "node": ">=10.16.0 <=14.x.x",
    "npm": ">=6.0.0"
  },