App reviews, troubleshooting, and recommendations
Hi everyone,
I am building a Public App for shopify using the Shopify App Template for Node from Github. However, when deployed to a Azure App Service I am getting a blank screen when I view the app through Shopify and "No shop provided" when I go directly to the deployed app URL in my browser.
The app works as expected when I use app bridge with cloudfare urls and the app can be seen through Shopify. However, I need to deploy the app for shopify's review.
Does anyone have any ideas? Thanks!
Solved! Go to the solution
This is an accepted solution.
Update: I solved this eventually by setting the SHOPIFY_API_KEY in the pipeline. It turned out that the front-end was not being built at all and so couldn't be found. Look out for this message in the build logs:
"Building the frontend app without an API key. The frontend build will not run without an API key. Set the SHOPIFY_API_KEY environment variable when running the build command."
You can set this in the pipeline or install dotenv and pop it a .env file
Hi,
Thanks for your reply! Would you be able to explain what steps you took?
Regards,
Peter
This is an accepted solution.
Update: I solved this eventually by setting the SHOPIFY_API_KEY in the pipeline. It turned out that the front-end was not being built at all and so couldn't be found. Look out for this message in the build logs:
"Building the frontend app without an API key. The frontend build will not run without an API key. Set the SHOPIFY_API_KEY environment variable when running the build command."
You can set this in the pipeline or install dotenv and pop it a .env file
User | RANK |
---|---|
11 | |
6 | |
5 | |
4 | |
3 |
On our Shopify Expert Marketplace, you can find many trusted third party developers and fr...
By Arno Nov 27, 2023You've downloaded the Search & Discovery app from the Shopify App store, and as you're ...
By Skye Nov 8, 2023The year-end shopping season is just around the corner. Is a flash sale on your radar? Are...
By Jasonh Nov 6, 2023