bugfix node npm version mismatches

This commit is contained in:
AJ ONeal
2020-06-16 22:19:22 +00:00
parent c053a71fdd
commit 605b97da97
+3
View File
@@ -34,6 +34,9 @@ pkg_link() {
# ln -s "$HOME/.local/opt/node-v14.4.0" "$HOME/.local/opt/node"
ln -s "$pkg_src" "$pkg_dst"
# Node bugfix: use the correct version of node, even if PATH has a conflict
"$pkg_src"/bin/node "$pkg_src"/bin/npm config set scripts-prepend-node-path=true
}
pkg_done_message() {