Skip to content

Commit

Permalink
npm madness npm/cli#611
Browse files Browse the repository at this point in the history
  • Loading branch information
edbizarro committed Sep 11, 2020
1 parent 96a3f38 commit 8494260
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion php/scripts/alpine/nodeyarn.sh
Expand Up @@ -4,7 +4,7 @@ set -euo pipefail

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

npm i -g npm@${NPM_VERSION}
npm i -g --force npm@${NPM_VERSION}

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

Expand Down
2 changes: 1 addition & 1 deletion php/scripts/node.sh
Expand Up @@ -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

Expand Down

0 comments on commit 8494260

Please sign in to comment.