Fran Dios
Fran Dios
Closing this since it's outdated and there's a new approach following the latest conventions in https://github.com/facebook/react/pull/26926
It would be great to see `error.stack` and `error.cause` when logging an error. Right now it only shows `Error: ${error.message}`. It stringifies generic objects, but not errors 😢
@jamalsoueidan Try `npm i -D @shopify/mini-oxygen@next`
@jamalsoueidan This has been released in [email protected]. I'd suggest using `h2 upgrade` to get proper version of packages because the issue you posted sounds related to a version mismatch with...
Can you try writing `SESSION_SECRET="foobar"` in your `/.env`?
Check your `server.js` or `server.ts` file and add values for all the missing environment variables that you find there. Or check [this `.env` file](https://github.com/Shopify/hydrogen/blob/2023-07/templates/demo-store/.env) from the demo-store. What flow did...
Hmm... perhaps you're using the wrong tokens? Can you try running `npx shopify hydrogen env pull` and see if the resulting `.env` is different from what you have?
>I've hit this issue trying to link an existing (non-remix) hydrogen storefront. Pulling the env explicitly didn't work. The `SESSION_SECRET` doesn't come with the `env pull` command because we don't...
>I think there's something unrelated causing the inf loop. I update Footer.tsx with and it goes away. @blittle Yes, the error is probably not introduced here. But I think these...
>I assumed this wouldn't be an issue because we added this https://github.com/Shopify/hydrogen/pull/1318/files and subsquently this: https://github.com/Shopify/hydrogen/blob/main/packages/hydrogen/src/utils/callsites.ts#L43 That `.catch` still throws an error though, so the unhandled piece should continue 🤔...