Skip to content

Commit

Permalink
npm madness npm/cli#611
Browse files Browse the repository at this point in the history
  • Loading branch information
Polymath1108 committed Sep 11, 2020
1 parent c55e1c4 commit fb88f50
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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 fb88f50

Please sign in to comment.