You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Successful installation of node modules inside the build container.
What happened instead?
error [email protected]: The engine "node" is incompatible with this module. Expected version "^20.17.0 || >=22.9.0". Got "20.15.1"
This seems to stem from the update to pacote version 21.0.0 in #2017. Since version 21.0.0 pacote is only compatible with node versions ^20.17.0 || >=22.9.0 as specified in the Breaking Changes sections of the release notes in their repository: https://github.com/npm/pacote/releases/tag/v21.0.0
Steps to reproduce
Running the steps to build using docker from the Readme (https://github.com/element-hq/element-desktop?tab=readme-ov-file#docker) does not successfully build the element desktop package.
git clone https://github.com/element-hq/element-desktop.git && cd cd element-desktop
)yarn install
as specified in https://github.com/element-hq/element-desktop?tab=readme-ov-file#first-steps.yarn run fetch --noverify --cfgdir ""
as specified in https://github.com/element-hq/element-desktop?tab=readme-ov-file#fetching-element.yarn run docker:setup
as specified in https://github.com/element-hq/element-desktop?tab=readme-ov-file#docker.yarn run docker:install
as specified in https://github.com/element-hq/element-desktop?tab=readme-ov-file#docker.Outcome
What did you expect?
Successful installation of node modules inside the build container.
What happened instead?
This seems to stem from the update to pacote version 21.0.0 in #2017. Since version 21.0.0 pacote is only compatible with node versions
^20.17.0 || >=22.9.0
as specified in theBreaking Changes
sections of the release notes in their repository: https://github.com/npm/pacote/releases/tag/v21.0.0As far as I can tell, changing the node version in https://github.com/element-hq/element-desktop/blob/develop/dockerbuild/Dockerfile#L24 from
20.15.1
to20.17.0
resolves this issue. I have not checked for other problems this newer version might create, though.Operating system
No response
Application version
No response
How did you install the app?
No response
Homeserver
No response
Will you send logs?
No
The text was updated successfully, but these errors were encountered: