How to deploy the shopify-demo-app-node-react tutorial

Highlighted
Shopify Partner
9 0 1

Hey everyone, 

 

I've been trying to deploy a slightly modified version of this app to Heroku and have been really struggling. 

https://developers.shopify.com/tutorials/build-a-shopify-app-with-node-and-react

https://github.com/Shopify/shopify-demo-app-node-react

 

I'm happy to go into specifics about the particular errors I've been getting, but just want to ask if anyone has deployed an app based on this tutorial yet? 

 

I started out getting this error 

 { Invariant Violation: Invariant Violation: 1 (see https://github.com/apollographql/invariant-packages)

Which I fixed using this advice 

https://stackoverflow.com/questions/50688998/using-apolloclient-with-node-js-fetch-is-not-found-glob...

 

However, I cannot get the right uri I keep getting this error client side 

Network error: Unexpected token N in JSON at position 0
1 Like