Deploying shopify hydrogen to netlify

Hello!

I’m doing some research about shopify’s new hydrogen framework and I tried to deploy it to netlify. Unfortunately, I’m getting “Page not found” error. I have all the required files needed in netlify (index.html etc.). Is there something I can do? I read in the hydrogen docs that it is possible to deploy it to netlify. I didn’t change any settings or anything in netlify, everything is bone stock.

I know hydrogen is really new but i hope that someone has some answers for my question!
netlifybuild

I can post build logs if needed.

Thanks.

Hi @ronivil

I’m interested in Hydrogen, however am yet to test it out. Interested as to your thoughts.

Looking at this documentation is seems to suggest the output directory it dist/client so I am wondering it you have the Publish directory correctly set.

Can you share the Netlify site you are deploying to? Could you share the git repository you are deploying from?

Hey! Thanks for your reply! I changed publish directory to “dist/client” and it got me from “Page not found” to a white screen, so progress! However, im getting some console errors: get 404 and hydration error. I unfortunately cannot share the github repo because its private and handled by my employer.

Can you share the site name you are deploying to?

Sure, https://quizzical-mahavira-d42299.netlify.app/

I’m new to netlify so I’m sorry if there is some confusion from my end.

These errors might provide some clue as to the blank page.

Hey @ronivil,
I’m new to hydrogen and Netlify and it’s seems that I have the same problem.

  1. I clone this repo
  2. I follow the official docs from Netlify.
  3. I have the “Page not found” page.

Can you tell me how do you resolve this issue if this is the case?

All the best,
Thanks,

@benitodotcool

Hey there, @benitodotcool :wave:

Thanks for following up on this thread! Can you please share your most recent deploy log as well as a link to your site? We will use this information to look into the issue further for you.