1
0
mirror of synced 2025-12-19 18:10:59 -05:00
Files
docs/script/check-for-node
Vanessa Yuen 3df90fc9b8 Hello git history spelunker!
Are you looking for something? Here is all of the GitHub Docs history in one single commit. Enjoy! 🎉
2020-09-27 14:10:11 +02:00

16 lines
351 B
Bash
Executable File

#!/usr/bin/env bash
# [start-readme]
#
# This script is run automatically when you run the server locally. It checks whether Node.js is installed.
#
# [end-readme]
if which node 2>/dev/null; then
echo "✔ Node.js is installed."
else
echo "✘ Node.js is not installed"
echo "Visit nodejs.org to download the latest LTS installer"
exit 1
fi