node: command not found
The node command could not be run. The frontends need it; an API-only project does not.
The fix
Install Node with a version manager rather than a one-off installer. You will eventually need two versions on one machine, and a manager makes that a non-event.
# fnm: fast, and works on Windows too$fnm install 22 && fnm use 22# or nvm, on macOS and Linux$nvm install 22 && nvm use 22
Then open a new terminal.
Why it happens
Same cause as the Go version of this: installing changes PATH, and a shell that was already running keeps the old one.
You may not need Node. An API-only project has no frontend, so nothing needs it. Scaffold one with grit new myapp --api, and skip the frontend checks with grit doctor --env --no-node.
How to tell it worked
$node --version
Still stuck? The troubleshooting page covers more, and the errors guide lists every message with its cause. Running grit doctor --env checks this machine for all of them at once.
