Heroku deploy failure for Strapi because of an unresolved module

Yes that’s true, if it’s a local plugin then you need to put the modules in the main package.json