Skip to content

Yarn error while upgrading to v-2024-04-10-hotfix #295

@dgzefem

Description

@dgzefem

I'm trying to upgrade from v-2023-12-20 to v-2024-04-10-hotfix by following the instructions provided in the release page, but after executing sudo docker-compose up --build -d I get the following error:

# ...
 => CACHED [ 8/12] RUN install -m 0755     admin/replication/hooks/post-process.sample     admin/replication/hooks/post-process                                          0.0s
 => CACHED [ 9/12] COPY DBDefs.pm /musicbrainz-server/lib/                                                                                                               0.0s
 => CACHED [10/12] COPY scripts/* /usr/local/bin/                                                                                                                        0.0s
 => CACHED [11/12] RUN cat /usr/local/bin/snippet.perllocallib.bashrc >> ~/.bashrc &&     rm /usr/local/bin/snippet.perllocallib.bashrc &&     ln -s /usr/local/bin/doc  0.0s
 => ERROR [12/12] RUN yarn install &&     yarn cache clean &&     eval "$(perl -Mlocal::lib)" &&     /musicbrainz-server/script/compile_resources.sh                    37.3s
------                                                                                                                                                                        
 > [12/12] RUN yarn install &&     yarn cache clean &&     eval "$(perl -Mlocal::lib)" &&     /musicbrainz-server/script/compile_resources.sh:                                
0.698 ! Corepack is about to download https://repo.yarnpkg.com/4.0.1/packages/yarnpkg-cli/bin/yarn.js                                                                         
1.401 ➤ YN0000: · Yarn 4.0.1                                                                                                                                                  
1.417 ➤ YN0000: ┌ Resolution step                                                                                                                                             
1.632 ➤ YN0000: └ Completed in 0s 215ms                                                                                                                                       
1.634 ➤ YN0000: ┌ Post-resolution validation
1.634 ➤ YN0060: │ gettext-parser is listed by your project with version 3.1.0, which doesn't satisfy what po2json (p6a3be) requests (2.0.0).
1.634 ➤ YN0060: │ leaflet is listed by your project with version 1.6.0, which doesn't satisfy what leaflet.markercluster (pff465) requests (~1.3.1).
1.634 ➤ YN0086: │ Some peer dependencies are incorrectly met; run yarn explain peer-requirements <hash> for details, where <hash> is the six-letter p-prefixed code.
1.635 ➤ YN0000: └ Completed
1.635 ➤ YN0000: ┌ Fetch step
36.68 ➤ YN0018: │ xgettext-js@https://github.com/metabrainz/xgettext-js.git#commit=0301681a479c1796ff6850c9bd2a169074386d92: The remote archive doesn't match the expected checksum
36.69 ➤ YN0000: └ Completed in 35s 50ms
36.69 ➤ YN0000: · Failed with errors in 35s 285ms
------
Dockerfile:106
--------------------
 105 |     
 106 | >>> RUN yarn install && \
 107 | >>>     yarn cache clean && \
 108 | >>>     eval "$(perl -Mlocal::lib)" && \
 109 | >>>     /musicbrainz-server/script/compile_resources.sh
 110 |     
--------------------
ERROR: failed to solve: process "/bin/bash -o pipefail -c yarn install &&     yarn cache clean &&     eval \"$(perl -Mlocal::lib)\" &&     /musicbrainz-server/script/compile_resources.sh" did not complete successfully: exit code: 1
ERROR: Service 'musicbrainz' failed to build

Any advice would be greatly appreciated. Thanks in advance!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions