Skip to content

Commit

Permalink
Install NPM deps with --legacy-peer-deps flag
Browse files Browse the repository at this point in the history
  • Loading branch information
axelboc authored and marcus-oscarsson committed Sep 4, 2023
1 parent cc5105e commit 48199ef
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/format_and_lint_ui.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ jobs:
- name: Install dependencies
run: |
pip install -e .
npm install --prefix ./ui
npm install --prefix ./ui --legacy-peer-deps
- name: Check formatting
run: npm run --prefix ./ui prettier
Expand Down Expand Up @@ -84,7 +84,7 @@ jobs:
- name: Install dependencies
run: |
pip install -e .
npm install --prefix ./ui
npm install --prefix ./ui --legacy-peer-deps
- name: Lint
run: npm run --prefix ./ui eslint
2 changes: 1 addition & 1 deletion docker/docker-entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ vncserver :1 -geometry 1680x1050 -depth 24 &

cd /opt/mxcube3

npm install
npm install --legacy-peer-deps
npm start &

redis-server &
Expand Down

0 comments on commit 48199ef

Please sign in to comment.