Commit 6ea3de2
docs(qa): fix vite-qa invocation example for worktrees
The documented `node node_modules/vite/bin/vite.js` exits with MODULE_NOT_FOUND
from a worktree (no node_modules/vite there; the path is a literal file arg, not
a package lookup), and Vite's package exports hide the bin from require.resolve.
Document a form that points node directly at the installed binary, derived from
git so it works from a worktree or a normal checkout at any nesting depth.
Comment-only; verified the command boots the server.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>1 parent 5c334a6 commit 6ea3de2
1 file changed
Lines changed: 8 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
25 | | - | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
26 | 30 | | |
27 | | - | |
| 31 | + | |
| 32 | + | |
28 | 33 | | |
29 | 34 | | |
30 | 35 | | |
| |||
0 commit comments