Skip to content

Commit

Permalink
Fixed kpi-build-error
Browse files Browse the repository at this point in the history
  • Loading branch information
gushil committed May 8, 2024
1 parent 0e986de commit 1174a09
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ WORKDIR ${KPI_SRC_DIR}/

RUN rm -rf ${KPI_NODE_PATH} && \
npm install -g [email protected] && \
npm install -g check-dependencies && \
npm install -g check-dependencies@1.1.0 && \
rm -rf "${KPI_SRC_DIR}/jsapp/fonts" && \
rm -rf "${KPI_SRC_DIR}/jsapp/compiled" && \
npm install --quiet && \
Expand Down
2 changes: 1 addition & 1 deletion docker/init.bash
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ if [[ ! -d "${KPI_SRC_DIR}/staticfiles" ]] || ! python "${KPI_SRC_DIR}/docker/ch

echo "Syncing \`npm\` packages…"
if ( ! check-dependencies ); then
npm install --quiet > /dev/null 2>&1
npm install --legacy-peer-deps --quiet > /dev/null 2>&1
else
npm run postinstall > /dev/null 2>&1
fi
Expand Down

0 comments on commit 1174a09

Please sign in to comment.