App reviews, troubleshooting, and recommendations
Hello everyone,
I am currently working on hosting a Shopify app built using Remix, and I am facing issues with the hosting setup.
When I try to run the app in production, I get the following error:
(node:17548) ExperimentalWarning: Importing JSON modules is an experimental feature and might change at any time
[shopify-api/INFO] version 11.4.0, environment Remix
[shopify-app/INFO] Future flag wip_optionalScopesApi is disabled.
Enable this to use the optionalScopes API to request additional scopes and manage them.
Error: getaddrinfo ENOTFOUND https://testdyno-99f8eee3322a.herokuapp.com/
at GetAddrInfoReqWrap.onlookup [as oncomplete] (node:dns:109:26)
Procfile Setup: In the Heroku Procfile, I currently have web: npm run start. Is this the correct command for a Remix Shopify app? Or is there a different command I should be using for hosting this app?
SHOPIFY_APP_URL: For the SHOPIFY_APP_URL, should I be entering the same Heroku URL where my app is hosted (https://testdyno-99f8eee3322a.herokuapp.com/), or is there a different URL I should be using?
Remix Hosting: Can anyone provide the correct steps or best practices for hosting a Remix Shopify app on Heroku (or any other platform)? I've been running into issues where npm run dev works perfectly in local development, but I can't figure out the right setup for production.
Any guidance would be greatly appreciated! Thank you.
Solved! Go to the solution
This is an accepted solution.
Hey, I solved this issue by simply removing the HOST variable in the .env file. Everything is working fine now!
This is an accepted solution.
Hey, I solved this issue by simply removing the HOST variable in the .env file. Everything is working fine now!
Learn how to build powerful custom workflows in Shopify Flow with expert guidance from ...
By Jacqui May 7, 2025Did You Know? May is named after Maia, the Roman goddess of growth and flourishing! ...
By JasonH May 2, 2025Discover opportunities to improve SEO with new guidance available from Shopify’s growth...
By Jacqui May 1, 2025