Hi all, trying to deploy my typescript graphql ser...
# orm-help
a
Hi all, trying to deploy my typescript graphql server to 
heroku
. 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?
r
Hey @Andreas Groos 👋 Is the NODE_ENV set to
production
? 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?
a
Thanks @Ryan, adding
NODE_ENV=development
to the
generate:nexus
script allows the whole process to successfully complete.
💯 1