chore: script/bootstrap fails when node cannot find a module the tests load (closes #263)
check / check (push) Successful in 8m27s
e2e / e2e-chrome (push) Successful in 9m2s
e2e / e2e-firefox (push) Successful in 4m31s

yarn install exits 0 without touching node_modules whenever
node_modules/.yarn-integrity matches yarn.lock, so a package deleted from
node_modules stayed deleted while bootstrap printed "bootstrap complete".
After the install, bootstrap now asks node to resolve jest,
playwright-core and ethers, and on the first it cannot find it names the
module and the fix: rm -rf node_modules && make bootstrap.

Model: opus-5-5
This commit is contained in:
2026-10-06 22:05:26 +00:00
parent cd730241bb
commit 50a332f5a0
3 changed files with 36 additions and 1 deletions
+9
View File
@@ -45,6 +45,15 @@ but the review is broader than any of them.
# Completed Steps
- 2026-10-06: `script/bootstrap` no longer reports success while node cannot
find a module the tests load
([#263](https://git.eeqj.de/sneak/AutistMask/issues/263)). After the install
it asks node for `jest`, `playwright-core` and `ethers`, and fails naming the
missing one and the fix. yarn skips the install whenever
`node_modules/.yarn-integrity` matches `yarn.lock`, so a package deleted from
`node_modules` stayed deleted while bootstrap said it was complete. The
fresh-clone failure the issue reports did not reproduce.
- 2026-10-06: A token symbol or name read off a contract is no longer stored cut
between the two halves of an emoji
([#458](https://git.eeqj.de/sneak/AutistMask/issues/458)). `lookupTokenInfo()`