docs: document local-dev prerequisites and fix stale test instructions #6
No reviewers
Labels
No labels
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
og_arist0tle/dark-spire!6
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "docs/readme-local-dev"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
The README's local-dev instructions said to just run
python3 scripts/ssr-server.py . 5175— but on a fresh clone that dies before serving anything, because the Python script shells out tonode scripts/ssr-build.mjs, which fails withERR_MODULE_NOT_FOUNDuntilnpm installhas run.npm install; notes the first-buildnpx esbuildfetch and thatvendor/break_infinity.mjsis unusedindex.html(git SHA stamp), dirtying the tree (see #4)package.jsontest script" claim (the script exists but is stale scaffold and fails on current Node — see #2)Verification
rm -rf node_modules→ README command fails withERR_MODULE_NOT_FOUND; afternpm installthe server builds (1.2s) and serves HTTP 200 (93 KB SSR page)npm testconfirmed brokenhttps://claude.ai/code/session_011eZTAZ5nd74YqrBaNpHYV9
Pull request closed