Could not resolve "react-reconciler"

Ran into this issue today when trying to create a customer account UI extension:

I found these two related github issues:

The latter has recent activity yesterday so I’m guessing other people are hitting this. Just wondering if there are any quick fixes to unblock me for now.

Hey,

wondering if there are any quick fixes to unblock me for now

can you try to add "react-reconciler": "0.29.0" to your package.json dependencies (and install packages) please?

I’ll try to investigate why it’s missing, but adding might unblock you for now.

1 Like

Yeah I had to manually add it to a POS UI Extension, I think its fixed depending on the version of Shopify CLI.
I believe you can do it as a dev dependency.

I have a faint memory of running into this problem, here’s my package.json if it helps:

{
  "name": "@verdict/checkout-ui",
  "private": true,
  "version": "1.0.0",
  "license": "UNLICENSED",
  "dependencies": {
    "@shopify/ui-extensions": "2024.7.x",
    "@shopify/ui-extensions-react": "2024.7.x",
    "react": "^18.0.0"
  },
  "devDependencies": {
    "@types/react": "^18.0.0",
    "react-reconciler": "0.29.0"
  }
}


Thanks @Robin-Shopify - got passed that error.

Now though it’s just hanging for me when I try to open up the account section.



When did you generate this extension and what version of the CLI are you running?

There should only be one extension target in the generated extension, but it seems like you got an older version of the template.

Ah gotcha - okay I just generated it fresh and I’m having the same issue still:

CLI version - @shopify/cli/3.72.0 darwin-arm64 node-v20.12.2

Turns out the reason it wasn’t working after fixing the react reconciler issue was because it’s a plus sandbox store and not a dev store.

1 Like