We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4bd2374 commit abba49fCopy full SHA for abba49f
1 file changed
src/node/install.sh
@@ -457,7 +457,7 @@ elif bash -c ". '${NVM_DIR}/nvm.sh' && type npm >/dev/null 2>&1"; then
457
echo "Skipping npm installation due to compatibility issues."
458
else
459
# Try npm installation with retries
460
- for i in {1..3}; do
+ for i in 1 2 3; do
461
echo "Attempt $i: Running npm install -g npm@$NPM_VERSION"
462
if npm install -g npm@$NPM_VERSION --force --no-audit --no-fund 2>&1; then
463
NEW_VERSION=$(npm --version 2>/dev/null || echo 'unknown')
0 commit comments