Skip to content

Commit

Permalink
setup-web.sh: run npm-install unconditionally
Browse files Browse the repository at this point in the history
otherwise npm run fails after the requirements change and we keep working with
an outdated environment: "Cannot find module react-refresh-typescript"
  • Loading branch information
mvidner committed Jul 17, 2024
1 parent a171d7a commit 557372a
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions setup-web.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,7 @@ $SUDO zypper --non-interactive install \

cd web

if [ ! -e node_modules ]; then
npm install
fi

npm install
npm run build

cd -
Expand Down

0 comments on commit 557372a

Please sign in to comment.