Hello,
I’m new to shopify and I’m trying to create my first storefront with hydrogen.
I’m following step by step both the course on shopify academy “Introduction to custom storefronts for developers” and the docs Getting Started with Hydrogen and Oxygen .
I have tried both with and without (hence using mock.shop) linking my shopify plus sandbox store and I haven’t touched the code.
The problem is that whenever i run the project locally and access localhost:3000 i get a “500 - internal error” and when i’m lucky this message in the terminal:
[Error: internal error]
GET 500 render / 177ms
Error: internal error
at loadDeferredData (/Users/rverga/shopifyProjects/hydrogen-quickstart/app/routes/_index.jsx:50:6)
at loader (/Users/rverga/shopifyProjects/hydrogen-quickstart/app/routes/_index.jsx:18:24)
at callRouteLoader (/Users/rverga/shopifyProjects/hydrogen-quickstart/node_modules/.vite/deps_ssr/@remix-run_server-runtime.js:3233:22)
at commonRoute.loader (/Users/rverga/shopifyProjects/hydrogen-quickstart/node_modules/.vite/deps_ssr/@remix-run_server-runtime.js:3324:36)
at actualHandler (/Users/rverga/shopifyProjects/hydrogen-quickstart/node_modules/.vite/deps_ssr/@remix-run_server-runtime.js:1988:14)
at /Users/rverga/shopifyProjects/hydrogen-quickstart/node_modules/.vite/deps_ssr/@remix-run_server-runtime.js:2000:27
at runHandler (/Users/rverga/shopifyProjects/hydrogen-quickstart/node_modules/.vite/deps_ssr/@remix-run_server-runtime.js:2011:7)
at callLoaderOrAction (/Users/rverga/shopifyProjects/hydrogen-quickstart/node_modules/.vite/deps_ssr/@remix-run_server-runtime.js:2060:22)
GET 500 render / 99ms
The weird thing is that when I deploy the store and access the provided link the store works fine, but i don’t really want to do the whole deployment process every single time i make the smallest of changes.
I don’t know if it’s relevant but I have Node v21.6.1 and npm v10.2.4
Has anybody encountered this error?
Thank you so much in advance for the help ![]()