I understand why you can’t run composer “require-dev”, but to run migrate on the server I would need these resources in the environment.
How can I proceed?
In this case my idea would be to temporarily raise require-dev as require and after work update “yii2-gii” to dev again.
Run tests in heroku:
heroku run "php yii migrate/up"
Error detected
class yii\gii\module does not exist