What is the location of your example repository?
https://github.com/Shopify/hydrogen/tree/main/templates/skeleton
Which package or tool is having this issue?
Hydrogen
What version of that package or tool are you using?
2026.1.0
What version of Remix are you using?
7.12.0
Steps to Reproduce
- Install Urban VPN browser extension (note that this is only one example, there could be more extensions)
- Visit any Hydrogen store (e.g., https://skeleton.hydrogen.shop/)
- Open browser developer console
- Observe
TypeError: Cannot redefine property: Shopify error
- Notice the app crashes/becomes unusable (The Remix/RR error boundary kicks in)
Expected Behavior
- Framework resilience: Hydrogen apps should not crash regardless of which browser extensions users have installed
- Defensive coding: The logic in ShopifyCustomerPrivacy.tsx:344 should check if
window.Shopify is already defined and handle both configurable and non-configurable scenarios gracefully
- Consistent experience: Hydrogen should provide the same level of stability as Shopify Theme stores when dealing with third-party scripts
- Graceful degradation: If an extension conflicts with Hydrogen's property definitions, the app should continue functioning with appropriate fallback behavior
- User-first approach: End users shouldn't need to disable legitimate browser extensions to use Hydrogen stores
Actual Behavior
App becomes completely unusable with TypeError: Cannot redefine property: Shopify when browser extensions define the property as non-configurable.
Relevant resources
What is the location of your example repository?
https://github.com/Shopify/hydrogen/tree/main/templates/skeleton
Which package or tool is having this issue?
Hydrogen
What version of that package or tool are you using?
2026.1.0
What version of Remix are you using?
7.12.0
Steps to Reproduce
TypeError: Cannot redefine property: ShopifyerrorExpected Behavior
window.Shopifyis already defined and handle both configurable and non-configurable scenarios gracefullyActual Behavior
App becomes completely unusable with
TypeError: Cannot redefine property: Shopifywhen browser extensions define the property as non-configurable.Relevant resources
chrome-extension://eppiocemhmnlbhjplcgkofciiegomcon/libs/extend-native-history-api.js