From 97c7ef97930a9917732dfbd454bc378c77546760 Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Mon, 18 Jun 2018 21:40:42 +0000 Subject: [PATCH] make sure directory exists before chowning it --- install.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/install.sh b/install.sh index f235228..55c087d 100644 --- a/install.sh +++ b/install.sh @@ -303,6 +303,7 @@ if [ -n "${NODEJS_VER}" ]; then bash "/tmp/${INSTALL_FILE}" "${NODEJS_VER}" fi +$sudo_cmd mkdir -p $node_install_path/lib/node_modules $sudo_cmd chown -R $(whoami) $node_install_path/lib/node_modules echo ""