We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c71140e commit 9042dabCopy full SHA for 9042dab
php/scripts/alpine/nodeyarn.sh
@@ -4,7 +4,7 @@ set -euo pipefail
4
5
ln -s /usr/lib/npm/bin/npm-cli.js /usr/bin/npm
6
7
-npm i -g npm@${NPM_VERSION}
+npm i -g --force npm@${NPM_VERSION}
8
9
curl -o- -L https://yarnpkg.com/install.sh | bash
10
php/scripts/node.sh
@@ -5,7 +5,7 @@ set -euo pipefail
# NODE JS
curl -sL https://deb.nodesource.com/setup_12.x | bash - \
&& DEBIAN_FRONTEND=noninteractive apt-get install nodejs -yq \
- && npm i -g npm \
+ && npm i -g --force npm \
&& curl -o- -L https://yarnpkg.com/install.sh | bash \
&& npm cache clean --force
11
0 commit comments