- follows on from https://github.com/nodejs/citgm/issues/1179 ## Situation Running `citgm resolve` fails on Node.js 22-26 (windows) All 825 tests pass, however there are failures in `posttest` (see attached logs [resolve-1.22.13-windows-citgm.log](https://github.com/user-attachments/files/33155097/resolve-1.22.13-windows-citgm.log)) | Item | Status | | ---------------------------------- | ----------------------------------------- | | npm package | https://www.npmjs.com/package/resolve | | npm status | active | | last published | 1.22.13 Oct 7, 2026 | | weekly downloads | 233,891,835 | | repo location | https://github.com/browserify/resolve | | repo last update to default branch | Oct 7, 2026 | | repo status | active | | repo CI status | runs in Node.js all versions, ubuntu only | | lookup - skip | - | | lookup maintainer 1 | [ljharb](https://github.com/ljharb) | Repo CI https://github.com/browserify/resolve/blob/main/.github/workflows/node-twenties.yml runs in Node.js >=20 on ubuntu. ## Steps to reproduce Run https://github.com/nodejs/citgm/actions/workflows/test-module.yml Module to test: `resolve` CITGM repository to checkout: `nodejs/citgm` CITGM GitHub ref to checkout: `main` Alternatively on Windows 11 26H2, Node.js 24.21.0 LTS ```shell npm install citgm@latest -g citgm resolve ``` ## Result Fails on Node.js 22-26 (windows) | Node.js | npm | macos | ubuntu | windows | | ------- | ------- | ----- | ------ | ------- | | 22.23.3 | 10.9.9 | PASS | PASS | FAIL | | 24.21.0 | 11.19.0 | PASS | PASS | FAIL | | 26.10.0 | 11.19.1 | PASS | PASS | FAIL | ## References https://github.com/nodejs/citgm/blob/4d3d256ce02499dba3ee2b725b2ee6b0d7a51988/lib/lookup.json#L356-L360 cc: @ljharb
Activity
ljharb commentedon Oct 7, 2026
Looks like the issue is in
npm run test:multirepo(which is part ofposttest). In the short term, could perhaps onlytests-onlybe invoked on windows?In the longer term, I'll need to find a Windows instance to test this on so I can fix it.
MikeMcC399 commentedon Oct 8, 2026
I don't believe there is a way to remove
posttestonly on Windows. It would have to be removed for all OS. Will you submit a PR to make this change?ljharb commentedon Oct 8, 2026
sure
ljharb commentedon Oct 8, 2026
I added such a way: #1191