Skip to content

Commit

Permalink
wscat install
Browse files Browse the repository at this point in the history
  • Loading branch information
inv4fee2020 committed Sep 12, 2023
1 parent 0b1a29a commit 0666614
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions pli_node_scripts.sh
Original file line number Diff line number Diff line change
Expand Up @@ -360,14 +360,25 @@ FUNC_NODE_DEPLOY(){
echo -e "${GREEN}#########################################################################"
echo -e "${GREEN}## Install: GoPlugin V2 dependancies...${NC}"

npm install -g pnpm
npm install -g pnpm
if [ $? != 0 ]; then
echo
echo -e "${RED}## ERROR :: PNPM dependancies install encoutered issues${NC}"
sleep 2s
FUNC_EXIT_ERROR
else
echo -e "${GREEN}INFO :: Successfully downloaded & installed dependancies${NC}"
echo -e "${GREEN}INFO :: Successfully downloaded & installed PNPM ${NC}"
sleep 2s
fi

npm install -g wscat
if [ $? != 0 ]; then
echo
echo -e "${RED}## ERROR :: WSCAT dependancies install encoutered issues${NC}"
sleep 2s
FUNC_EXIT_ERROR
else
echo -e "${GREEN}INFO :: Successfully downloaded & installed WSCAT ${NC}"
sleep 2s
fi

Expand Down

0 comments on commit 0666614

Please sign in to comment.