From 0e7f8ce4f41fb9e810752acf11ba35f4ff592add Mon Sep 17 00:00:00 2001 From: Kevin MacMartin Date: Tue, 14 Jun 2022 14:39:07 -0400 Subject: [PATCH] Use npx to run gulp instead of $(npm bin) --- init.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/init.sh b/init.sh index 4f8f658..1733e5b 100755 --- a/init.sh +++ b/init.sh @@ -101,7 +101,7 @@ msg "Running: ${c_m}npm install --production" npm install --production || error "${c_m}npm install --production$c_w exited with an error status" msg "Running: ${c_m}gulp --production" -"$(npm bin)/gulp" --production || error "${c_m}gulp --production$c_w exited with an error status" +npx gulp --production || error "${c_m}gulp --production$c_w exited with an error status" if (( artisan_down )); then msg "Running: ${c_m}php artisan up"