I run npm run dev and then following error came
[Error showing cloudflaire tunnel not working][1]Then I tried to download ngrok and took the URL from there as follows
[Taking URL from ngrok][2]And then when I run the command again I am getting following error
[Error][3]I am unable to install the app. (I am following the tutorial https://shopify.dev/docs/apps/getting-started/build-qr-code-app?framework=remix)
[1]: https://phpout.com/wp-content/uploads/2023/10/CMAVY-jpg.webp
[2]: https://phpout.com/wp-content/uploads/2023/10/ZKbnr-jpg.webp
[3]: https://phpout.com/wp-content/uploads/2023/10/8gzOx-jpg.webp
2
Answers
I resolved the issue after changing the build in package.json to "build": "shopify app build" and then I ran npm run shopify app build and then I npm run shopify app dev and I am now succesfully connecting it.
First, check the internet connection.
if it is possible you can use yarn
To work on the following, please follow these steps:
npm run shopify auth logout
ngrok http 3000
from the terminal and copy the generated URL for the next step.npm run dev -- --tunnel-url https://example.ngrok.com:3000
.