This might be an npm bug or it might just require bumping some other dependency.
With this diff applied to PageTriage.git:
diff --git a/package.json b/package.json index f882b5aa..ef9556e8 100644 --- a/package.json +++ b/package.json @@ -26,8 +26,8 @@ "@wdio/local-runner": "7.19.7", "@wdio/mocha-framework": "7.16.6", "@wdio/spec-reporter": "7.19.7", - "@wikimedia/codex": "^0.14.0", - "@wikimedia/codex-icons": "^0.14.0", + "@wikimedia/codex": "1.3.1", + "@wikimedia/codex-icons": "1.3.1", "@wikimedia/mw-node-qunit": "^7.0.0", "babel-jest": "^29.6.1", "eslint": "^8.36.0", @@ -36,7 +36,7 @@ "jest": "^29.6.1", "jest-environment-jsdom": "^29.6.1", "stylelint-config-wikimedia": "0.15.0", - "vue": "^3.3.4", + "vue": "3.3.9", "wdio-mediawiki": "2.1.0" } }
NPM will fail with:
I have no name!@09a99f723fe9:/PageTriage$ npm i npm ERR! code ERESOLVE npm ERR! ERESOLVE could not resolve npm ERR! npm ERR! While resolving: PageTriage@undefined npm ERR! Found: @wikimedia/codex@0.14.0 npm ERR! node_modules/@wikimedia/codex npm ERR! dev @wikimedia/codex@"1.3.1" from the root project npm ERR! npm ERR! Could not resolve dependency: npm ERR! dev @wikimedia/codex@"1.3.1" from the root project npm ERR! npm ERR! Conflicting peer dependency: vue@3.3.9 npm ERR! node_modules/vue npm ERR! peer vue@"3.3.9" from @wikimedia/codex@1.3.1 npm ERR! node_modules/@wikimedia/codex npm ERR! dev @wikimedia/codex@"1.3.1" from the root project npm ERR! npm ERR! Fix the upstream dependency conflict, or retry npm ERR! this command with --force or --legacy-peer-deps npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
NPM debug log is attached to P56333 but does not seem particularly helpful.
npm update works but we can't really run that in LibUp.