From 5e789f29c04b4fcbe4ccc402881a68348091c4cf Mon Sep 17 00:00:00 2001 From: keyan Date: Sat, 5 Jun 2021 17:57:43 -0400 Subject: [PATCH] check if npm global bin is there --- .platform/hooks/prebuild/00_build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.platform/hooks/prebuild/00_build.sh b/.platform/hooks/prebuild/00_build.sh index 47cbde35..f988dd30 100755 --- a/.platform/hooks/prebuild/00_build.sh +++ b/.platform/hooks/prebuild/00_build.sh @@ -3,7 +3,7 @@ echo installing yarn sudo npm install yarn -g -echo link yarn +echo link yarn $(npm bin --global) $(sudo npm bin --global) sudo ln -s "$(npm bin --global)"/yarn /usr/bin/yarn echo install