diff --git a/npm-install.sh b/npm-install.sh index 95c531f5f..f18744dc4 100755 --- a/npm-install.sh +++ b/npm-install.sh @@ -1,3 +1,9 @@ +echo 'if (!process.version.startsWith("v18")) throw new Error("node 18 required")' | node +if [ "$?" != 0 ] +then + exit +fi + echo ###################################### echo "Setting up popular plugins." echo "Additional will need npm install manually."