Function ensure_node

Source
pub fn ensure_node() -> Result<PathBuf>
Expand description

Ensure node is on PATH.
If missing, attempts to install Node.js using nvm (automated for Windows, manual prompt otherwise).
Returns the full path to the node executable.