skip to Main Content

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


  1. Chosen as BEST ANSWER

    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.


  2. First, check the internet connection.
    if it is possible you can use yarn

    To work on the following, please follow these steps:

    1. npm run shopify auth logout
    2. Install Ngrok from https://ngrok.com/download
    3. Run ngrok http 3000 from the terminal and copy the generated URL for the next step.
    4. Run npm run dev -- --tunnel-url https://example.ngrok.com:3000.
    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search