diff --git a/npm-install.sh b/npm-install.sh index beb62dd0c..c6f150d12 100755 --- a/npm-install.sh +++ b/npm-install.sh @@ -1,3 +1,4 @@ +#!/bin/bash echo 'if (!process.version.startsWith("v18")) throw new Error("Node 18 is required. Install Node Version Manager (nvm) for versioned node installations. See https://github.com/koush/scrypted/pull/498#issuecomment-1373854020")' | node if [ "$?" != 0 ] then