Skip to content

Commit

Permalink
Fix npm
Browse files Browse the repository at this point in the history
  • Loading branch information
willnode committed Sep 21, 2024
1 parent 79c5988 commit 78bf5b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/executor/runnercode.js
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ export async function runConfigCodeFeatures(key, value, writeLog, domaindata, ss
arg = "@" + value;
}
await writeLog("$> Changing Node engine to " + (value || 'lts'));
await sshExec("pathman add .local/opt/node/bin");
await sshExec("pathman add .local/opt/node/bin ; source ~/.config/envman/PATH.env");
await sshExec(`curl -sS https://webinstall.dev/node${arg} | bash`);
await sshExec("command -v corepack &> /dev/null || npm i -g corepack && corepack enable");
await sshExec(`[[ -z $COREPACK_ENABLE_AUTO_PIN ]] && echo "export COREPACK_ENABLE_AUTO_PIN=0" >> ~/.bashrc`)
Expand Down

0 comments on commit 78bf5b5

Please sign in to comment.