Skip to content

All CSS and JS assets missing when deploying to production #3858

Description

@AugustinUpway

What is the location of your example repository?

No response

Which package or tool is having this issue?

CLI

What version of that package or tool are you using?

4.4.0

What version of React Router 7 are you using?

7.9.2

Steps to Reproduce

Hi Hydrogen team,

We faced a weird issue yesterday where all of our JS & CSS assets went 404 on Shopify Oxygen, fully preventing sales on our Hydrogen stores (we are currently ongoing migration) 😨 :

Image

Expected Behavior

Assets should not 404 😅

Actual Behavior

All CSS & JS assets are missing.

We mitigated the issue by rolling back to the last working version in Shopify Hydrogen Admin first, then
pinned the Shopify CLI version to 4.3.0 (because it wasn't pinned in the first place).
From our test, both 4.4.0 & 4.5.1 are broken.

Our team noticed #3842, but no idea if this really related.

More context:

  • Our build & deploy command is pnpx shopify hydrogen deploy --no-lockfile-check --auth-bypass-token
  • in our package.json:
    • "@shopify/hydrogen": "2025.7.0" (yeah, we're a little late on updates)
    • "@shopify/cli": "~3.85.4" (not the version used to go to prod tho)

Any idea what's going on ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions