Skip to content

Commit

Permalink
$(npm bin) -> $(npm prefix)/bin
Browse files Browse the repository at this point in the history
  • Loading branch information
ChiaMineJP committed Sep 26, 2023
1 parent cbcc4ba commit 332e530
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion install-gui.sh
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ do_install_npm_locally(){
npm ci
fi
export N_PREFIX=${SCRIPT_DIR}/.n
PATH="${N_PREFIX}/bin:$(npm bin):${PATH}"
PATH="${N_PREFIX}/bin:$(npm prefix)/bin:${PATH}"
export PATH
# `n 18` here installs nodejs@18 under $N_PREFIX directory
echo "n 18"
Expand Down

0 comments on commit 332e530

Please sign in to comment.