Skip to content

fix(npm): npm ci has been failing on every branch — EOVERRIDE on vue#2080

Merged
rubenvdlinde merged 1 commit into
developmentfrom
fix/npm-ci-override-conflict
Jul 24, 2026
Merged

fix(npm): npm ci has been failing on every branch — EOVERRIDE on vue#2080
rubenvdlinde merged 1 commit into
developmentfrom
fix/npm-ci-override-conflict

Conversation

@rubenvdlinde

Copy link
Copy Markdown
Contributor

npm ci errors before installing anything:

npm error code EOVERRIDE
npm error Override for vue@^2.6 || ^3.0 conflicts with direct dependency

npm refuses an override for a package that is also a direct dependency unless the two agree. overrides.vue pins ^2.7.16 while the devDependency allows ^2.6 || ^3.0.

Why this matters more than it looks

That single failure is the root of five red checks on every PR here: with no node_modules, validate, Vue Quality (eslint), Vue Quality (stylelint), License (npm) and Security (npm) all fail. The eslint one is the most misleading — it reports eslint-plugin-n missing, which reads as a lint error but is just the install never having run.

Those checks have been red long enough to be treated as background noise, which is exactly how a real failure gets merged past.

The fix

The devDependency now declares ^2.7.16, matching the override's intent. peerDependencies stays permissive at ^2.6 || ^3.0 — consumers may be on either major, and peers are not what npm objects to.

Verified: npm install --package-lock-only resolves and npm ci --dry-run completes with 475 packages.

🤖 Generated with Claude Code

`npm ci` errors before installing anything:

    npm error code EOVERRIDE
    npm error Override for vue@^2.6 || ^3.0 conflicts with direct dependency

npm refuses an override for a package that is also a direct dependency unless
the two agree. `overrides.vue` pins `^2.7.16` while the devDependency allows
`^2.6 || ^3.0`, so nothing installs.

That one failure is the root of five red checks on every PR in this repo: with
no node_modules, `validate`, `Vue Quality (eslint)`, `Vue Quality (stylelint)`,
`License (npm)` and `Security (npm)` all fail. The eslint failure in particular
reads as a lint error and is not one — it is `eslint-plugin-n` missing because
the install never ran.

The devDependency now declares `^2.7.16`, matching the override's intent to pin
Vue 2.7.16 through the tree. `peerDependencies` deliberately stays permissive at
`^2.6 || ^3.0`: consumers may still be on either major, and peers are not what
npm objects to.

Verified: `npm install --package-lock-only` resolves, and `npm ci --dry-run`
now completes with 475 packages.
@github-actions

Copy link
Copy Markdown
Contributor

Quality Report — ConductionNL/openregister @ 295f5c8

Check PHP Vue Security License Tests
lint
phpcs
phpmd
psalm
phpstan
phpmetrics
eslint
stylelint
composer ✅ 173/173
npm ✅ 555/555
PHPUnit ⏭️
Newman ⏭️
Playwright ⏭️

Quality workflow — 2026-07-24 15:29 UTC

Download the full PDF report from the workflow artifacts.

@rubenvdlinde
rubenvdlinde merged commit ea403a4 into development Jul 24, 2026
22 of 25 checks passed
@rubenvdlinde
rubenvdlinde deleted the fix/npm-ci-override-conflict branch July 24, 2026 15:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant