Andreas Groos
06/06/2020, 1:04 PMheroku
. Builds fine locally. Fails when I do git push heroku master
. The same happens when I clone the typscript graphql in the examples
repo, it fails to deploy with the same error message. After heroku runs npm run generate
it can't find model
, line 134+ Any tips?Ryan
06/08/2020, 10:41 AMproduction
? If so then generate:nexus
doesn't generate the types correctly. Could you explicitly set NODE_ENV to development for the generate:nexus
phase and check?Andreas Groos
06/08/2020, 2:27 PMNODE_ENV=development
to the generate:nexus
script allows the whole process to successfully complete.