shopify-hydrogen validator has missing and incompatible dependencies in the Codex plugin
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 45/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Quiet
- Tech stack
- javascript, node.js, react, typescript
- Domain
- developer-experience, testing-qa, tooling
Research direction
Start with skills/shopify-hydrogen/scripts/validate.mjs and reproduce the clean managed-plugin failure using the reported Node.js and plugin versions. Inspect how dependencies are declared and how the validator discovers Hydrogen components, then verify installation, dependency resolution, and validation of the representative Money component without a misleading successful empty result.
Written by the indexing model from the issue text.
Description
Summary
The shopify-hydrogen validator included with the official managed Shopify plugin for Codex cannot run from a clean installation because its runtime dependencies are missing. Attempting to install the declared dependencies also exposes a peer-dependency conflict.
Environment
- Codex Desktop on Windows
- Node.js v24.14.0
- Installed with:
codex plugin add shopify@openai-curated - Curated plugin manifest version:
1.3.3 - Shopify skill version:
1.9.1 - Managed snapshot:
2f1a8948
Initial failure
Running skills/shopify-hydrogen/scripts/validate.mjs from the clean managed-plugin installation fails with:
Error [ERR_MODULE_NOT_FOUND]: Cannot find package 'typescript'
The managed installation contains no hydrated node_modules directory.
Dependency conflict
I copied only the Hydrogen skill into an isolated temporary directory. A normal npm installation failed with ERESOLVE.
The relevant conflict was:
@shopify/hydrogen@2026.1.3 requires @react-router/dev@7.12.0
But the curated Hydrogen skill pins:
@react-router/dev@7.15.1
Using npm install --legacy-peer-deps made the validator executable, but that did not fully correct its behavior.
Validator behavior after forced installation
I tested a representative Hydrogen component:
import {Money} from '@shopify/hydrogen';
export function Price(): JSX.Element {
return (
<Money
data={{
amount: '10.00',
currencyCode: 'USD',
}}
/>
);
}
The validator exited successfully but reported that no components were found for TypeScript validation and classified Money as a non-Shopify component:
No components found to validate by TypeScript.
Non-Shopify components (not validated): Money
Because this is the shopify-hydrogen skill, a core Hydrogen component such as Money should either be validated or the validator’s actual supported scope should be documented.
Expected behavior
After installing the managed Shopify plugin:
- The validator should run without a manual
npm install. - Its declared dependencies should have compatible versions.
- Representative Hydrogen components should actually be validated.
- The validator should not return a misleading successful result when it validates nothing.
Could the validator be published as a self-contained bundle, with compatible dependency versions and functional Hydrogen component detection?
- Dominant language
- JavaScript
- Stars
- 554
- Forks
- 74
- Avg merge
- 37m
- Merged PRs (30d)
- 6
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from Shopify/Shopify-AI-Toolkit
-
Hermes install: join the download and run with && so a failed fetch cannot run a stale installer Open
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
Difficulty 1/5 Under an hour Newbie friendliness 92/100
-
opencode support Open
Difficulty 1/5 Under an hour Newbie friendliness 75/100
Shopify/Shopify-AI-Toolkit#24 · 1 comment ·
-
Difficulty 1/5 Under an hour Newbie friendliness 80/100
Shopify/Shopify-AI-Toolkit#16 · 1 comment · 1 reaction ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
Shopify/Shopify-AI-Toolkit#14 · 1 comment ·
All issues in Shopify/Shopify-AI-Toolkit
Similar issues
-
curation good first issue
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
amponce/archive-movie-browser#186 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
clerk/javascript#9852 ·
-
bug p1 tools
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
HarperFast/skills#96 ·
-
factory-active factory-automatic task-bug-reproduction-cannot-reproduce task-identify-harness-labels-done task-identify-issue-type-done
Difficulty 2/5 1-3 hours Newbie friendliness 84/100