carstenlebek/shopify-non-embedded-app-template

Error: Variable $appUrl of type Url! was provided invalid value

Opened this issue · 2 comments

I can't do npm run dev and run the dev server because everytime when I try to run the command, I receive
Error: Variable $appUrl of type Url! was provided invalid value:
The error is generating from graphql-requests package.
Screenshot 2023-08-17 at 11 05 13 PM

Same in my app, can someone help please?

@kaitengL1027 @pietrociatta i found the issue, the graphQL query variables are wrong.

Go into shopifyCli.mjs and in line 77 adjust it to this:

image