From e177835160afa41f72386a65f14515186811dd1e Mon Sep 17 00:00:00 2001 From: rtm516 Date: Mon, 7 Nov 2016 17:04:38 +0000 Subject: [PATCH] Update setup.sh Fixed problem if node was installed and named nodejs, and express being missing. --- setup.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/setup.sh b/setup.sh index 10fba7a..141e91f 100644 --- a/setup.sh +++ b/setup.sh @@ -83,5 +83,9 @@ echo "Goodbye from PiCAST3 Installer! In the future, run PiCAST3 from picast_sta sleep 2 echo "Remember, build upon PiCAST3 & make donations to lance@compulsivetech.biz via PayPal & Help Donate to Opportunity Village." sleep 3 +echo "Fixing node name error" +sudo ln -s /usr/bin/nodejs /usr/bin/node +echo "Fixing missing express" +sudo npm install express -g echo "Launching PiCAST3 for the first time..." sh picast_start.sh