Skip to content

Commit 9042dab

Browse files
committed
npm madness npm/cli#611
1 parent c71140e commit 9042dab

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

php/scripts/alpine/nodeyarn.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ set -euo pipefail
44

55
ln -s /usr/lib/npm/bin/npm-cli.js /usr/bin/npm
66

7-
npm i -g npm@${NPM_VERSION}
7+
npm i -g --force npm@${NPM_VERSION}
88

99
curl -o- -L https://yarnpkg.com/install.sh | bash
1010

php/scripts/node.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ set -euo pipefail
55
# NODE JS
66
curl -sL https://deb.nodesource.com/setup_12.x | bash - \
77
&& DEBIAN_FRONTEND=noninteractive apt-get install nodejs -yq \
8-
&& npm i -g npm \
8+
&& npm i -g --force npm \
99
&& curl -o- -L https://yarnpkg.com/install.sh | bash \
1010
&& npm cache clean --force
1111

0 commit comments

Comments
 (0)