node.jsshopifyshopify-app

Shopify Application: This app can’t load due to an issue with browser cookies


When generating an app via the npm init @shopify/app@latest when running npm run dev and installing the app on the Shopify store. The following error is presented This app can’t load due to an issue with browser cookies. Try enabling cookies in your browser, [switching to another browser](https://community.shopify.com/c/Shopify-Apps/Some-Third-Party-Apps-may-not-be-accessible-on-Chrome-80-update/m-p/650220/thread-id/20503), or contacting the developer to get support.

Expected behavior

The app should install correctly and display the demo page.

Actual behavior

The app provides the detailed error

Steps to reproduce the problem

  1. Run npm init @shopify/app@latest

  2. Run npm start dev

  3. Install the application

  4. Launch the application


Solution

  • The devs have provided a fix at https://github.com/Shopify/shopify-app-template-remix/issues/332

    Running the following commands resolves the issue.

    npm run config:link
    npm run config:push
    npm run dev