#!/usr/bin/env bash # Lightweight Node shim to support environments where only node.exe (Windows) is present. if command -v node >/dev/null 2>&1; then exec node "$@" fi if command -v node.exe >/dev/null 2>&1; then exec node.exe "$@" fi if [ -x "/mnt/c/Program Files/nodejs/node.exe" ]; then exec "/mnt/c/Program Files/nodejs/node.exe" "$@" fi echo "node not found; install Node.js or adjust PATH" >&2 exit 127