Skip to content
This repository was archived by the owner on Jan 10, 2025. It is now read-only.

[react-i18n] Doesn't work with Hydrogen Typescript #2440

Open
selvinkuik opened this issue Oct 17, 2022 · 0 comments
Open

[react-i18n] Doesn't work with Hydrogen Typescript #2440

selvinkuik opened this issue Oct 17, 2022 · 0 comments
Labels
Type: Bug 🐛 Something isn't working

Comments

@selvinkuik
Copy link

Overview

See: https://stackblitz.com/edit/vitejs-vite-tqn4cn?file=src%2FApp.server.tsx

Produces error:

TypeError: Cannot read properties of undefined (reading 'null')
    at getOrCreateServerContext (/node_modules/@shopify/hydrogen/vendor/react-server-dom-vite/esm/react-server-dom-vite.js?v=86b7718e:116:23)
    at resolveProvider (/node_modules/@shopify/hydrogen/vendor/react-server-dom-vite/esm/react-server-dom-vite.js?v=86b7718e:395:51)
    at processFullRow (/node_modules/@shopify/hydrogen/vendor/react-server-dom-vite/esm/react-server-dom-vite.js?v=86b7718e:469:9)
    at processBinaryChunk (/node_modules/@shopify/hydrogen/vendor/react-server-dom-vite/esm/react-server-dom-vite.js?v=86b7718e:513:5)
    at progress (/node_modules/@shopify/hydrogen/vendor/react-server-dom-vite/esm/react-server-dom-vite.js?v=86b7718e:566:5)
@selvinkuik selvinkuik added the Type: Bug 🐛 Something isn't working label Oct 17, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Type: Bug 🐛 Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant