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 18, 2024
1 parent afabdc0 commit cee1b6f
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 cee1b6f

Please sign in to comment.