Skip to content

Commit

Permalink
fix wrong package version
Browse files Browse the repository at this point in the history
  • Loading branch information
Nico640 committed Sep 4, 2024
1 parent 4b4cc57 commit 1e8802a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ RUN apk add --no-cache --virtual .build-deps python3 g++ vips-dev glib-dev \
&& sed -i 's#"@ubnt/icons-5": ".*"#"@ubnt/icons-5": "file:../icons-5"#g' tmp/link-core/package.json \
&& sed -i 's#"@ubnt/ui-components": ".*"#"@ubnt/ui-components": "file:../ui-components"#g' tmp/link-core/package.json \
&& sed -i 's#"@ubnt/link-core": ".*"#"@ubnt/link-core": "file:./tmp/link-core"#g' package.json \
&& sed -i '$i,"resolutions": { "cheerio": "1.0.0-rc.5" }' package.json \
&& rm -rf node_modules \
&& CHILD_CONCURRENCY=1 yarn install --production --no-cache --ignore-engines --network-timeout 100000 \
&& yarn cache clean \
Expand Down

2 comments on commit 1e8802a

@MarcHagen
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can confirm seem to fix the startup problem since previous commit (4b4cc57)

@Nico640
Copy link
Owner Author

@Nico640 Nico640 commented on 1e8802a Sep 5, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can confirm seem to fix the startup problem since previous commit (4b4cc57)

Yeah, sadly they don't include the yarn lockfile in the UISP docker image, which is probably why it installed a different version of that package (1.0.0, doesn't work with Node.js 16) compared to the official UISP docker image (1.0.0-rc.5).

Please sign in to comment.