All things Shopify and commerce
I'm trying to execute:
npx shopify hydrogen env pull
But I'm getting:
The Admin GraphQL API responded unsuccessfully with errors:
│ [
│ {
│ "message": "storefront_not_found",
│ "locations": [
│ {
│ "line": 3,
│ "column": 5
│ }
│ ],
│ "path": [
│ "hydrogenStorefront"
│ ]
│ }
│ ]
When I do a 'link' it shows that I'm linked to the proper store.
I do have localhost working. Git is has code, and I have a deployment to a 'dev' site. I'm not sure where to declare that storefront value? I feel like I have proper .env on the storefront since the external dev site appears to be working.
Solved! Go to the solution
This is an accepted solution.
The problem was that I had it linked to an older instance when I first started. I issued ..
h2 link
It asked if I wanted to unlink to the current (old) storefront, then I picked the current one. Warning is gone now.
This is an accepted solution.
The problem was that I had it linked to an older instance when I first started. I issued ..
h2 link
It asked if I wanted to unlink to the current (old) storefront, then I picked the current one. Warning is gone now.
Hey Community 👋 Did you know that March 15th is National Everything You Think Is W...
By JasonH Apr 1, 2025Discover how to increase the efficiency of commerce operations with Shopify Academy's l...
By Jacqui Mar 26, 2025Shopify and our financial partners regularly review and update verification requiremen...
By Jacqui Mar 14, 2025