Dockerfile fails to build: error Command "patch-package" not found
When tryin to build the dockerfile today (on a Debian unstable, shouldn't matter) with Docker version 20.10.22, build 3a2c30b it fails to build:
laforge@host2:~/discourse$ docker build .
Sending build context to Docker daemon 165.4kB
Step 1/13 : ARG from=discourse/base
Step 2/13 : ARG tag=slim
Step 3/13 : ARG DISCOURSE_VERSION=test-passed
Step 4/13 : FROM $from:$tag
slim: Pulling from discourse/base
9d21b12d5fab: Pull complete
9fa02b463614: Pull complete
Digest: sha256:c67a64fc19faf39c8506197480b739e230db086ebd5155fcdbd723fd17e0e03c
Status: Downloaded newer image for discourse/base:slim
---> 7ae0ae462bc2
Step 5/13 : ENV RAILS_ENV=production DISCOURSE_SERVE_STATIC_ASSETS=true EMBER_CLI_COMPILE_DONE=1 EMBER_CLI_PROD_ASSETS=1 RUBY_GLOBAL_METHOD_CACHE_SIZE=131072 RUBY_GC_HEAP_GROWTH_MAX_SLOTS=40000 RUBY_GC_HEAP_INIT_SLOTS=400000 RUBY_GC_HEAP_OLDOBJECT_LIMIT_FACTOR=1.5 RUBY_GC_MALLOC_LIMIT=90000000
---> Running in 19f66c0c0f44
Removing intermediate container 19f66c0c0f44
---> 46f624b79ba2
Step 6/13 : RUN apt-get update && apt-get install -y jq
---> Running in 8c77c4cf3544
Get:1 http://deb.debian.org/debian bullseye InRelease [116 kB]
Get:2 http://deb.debian.org/debian-security bullseye-security InRelease [48.4 kB]
Get:3 http://deb.debian.org/debian bullseye-updates InRelease [44.1 kB]
Get:4 http://apt.postgresql.org/pub/repos/apt bullseye-pgdg InRelease [123 kB]
Get:5 http://deb.debian.org/debian bullseye-backports InRelease [49.0 kB]
Get:6 https://deb.nodesource.com/node_18.x bullseye InRelease [4,586 B]
Get:7 https://dl.yarnpkg.com/debian stable InRelease [17.1 kB]
Get:8 http://deb.debian.org/debian bullseye/main amd64 Packages [8,183 kB]
Get:9 http://deb.debian.org/debian-security bullseye-security/main amd64 Packages [252 kB]
Get:10 http://deb.debian.org/debian bullseye-updates/main amd64 Packages [14.8 kB]
Get:11 http://deb.debian.org/debian bullseye-backports/main amd64 Packages [422 kB]
Get:12 https://deb.nodesource.com/node_18.x bullseye/main amd64 Packages [775 B]
Get:13 https://dl.yarnpkg.com/debian stable/main amd64 Packages [10.9 kB]
Get:14 https://dl.yarnpkg.com/debian stable/main all Packages [10.9 kB]
Get:15 http://apt.postgresql.org/pub/repos/apt bullseye-pgdg/main amd64 Packages [282 kB]
Fetched 9,579 kB in 1s (8,157 kB/s)
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
The following packages were automatically installed and are no longer required:
ruby-minitest ruby-net-telnet ruby-power-assert ruby-test-unit ruby-xmlrpc
rubygems-integration
Use 'apt autoremove' to remove them.
The following additional packages will be installed:
libjq1 libonig5
The following NEW packages will be installed:
jq libjq1 libonig5
0 upgraded, 3 newly installed, 0 to remove and 0 not upgraded.
Need to get 384 kB of archives.
After this operation, 1,148 kB of additional disk space will be used.
Get:1 http://deb.debian.org/debian bullseye/main amd64 libonig5 amd64 6.9.6-1.1 [185 kB]
Get:2 http://deb.debian.org/debian bullseye/main amd64 libjq1 amd64 1.6-2.1 [135 kB]
Get:3 http://deb.debian.org/debian bullseye/main amd64 jq amd64 1.6-2.1 [64.9 kB]
debconf: delaying package configuration, since apt-utils is not installed
Fetched 384 kB in 0s (7,648 kB/s)
Selecting previously unselected package libonig5:amd64.
(Reading database ... 43860 files and directories currently installed.)
Preparing to unpack .../libonig5_6.9.6-1.1_amd64.deb ...
Unpacking libonig5:amd64 (6.9.6-1.1) ...
Selecting previously unselected package libjq1:amd64.
Preparing to unpack .../libjq1_1.6-2.1_amd64.deb ...
Unpacking libjq1:amd64 (1.6-2.1) ...
Selecting previously unselected package jq.
Preparing to unpack .../archives/jq_1.6-2.1_amd64.deb ...
Unpacking jq (1.6-2.1) ...
Setting up libonig5:amd64 (6.9.6-1.1) ...
Setting up libjq1:amd64 (1.6-2.1) ...
Setting up jq (1.6-2.1) ...
Processing triggers for libc-bin (2.31-13+deb11u6) ...
Removing intermediate container 8c77c4cf3544
---> b8cdae5c28f3
Step 7/13 : WORKDIR /var/www/discourse
---> Running in cae80c50fa72
Removing intermediate container cae80c50fa72
---> c2a7ea211d6d
Step 8/13 : RUN git config --global --add safe.directory /var/www/discourse && git remote set-branches --add origin ${DISCOURSE_VERSION} && git fetch --depth 1 origin ${DISCOURSE_VERSION} && sudo -u discourse bundle config --local deployment true && sudo -u discourse bundle config --local path ./vendor/bundle && sudo -u discourse bundle config --local without test development && sudo -u discourse bundle install --jobs 4 && sudo -u discourse yarn install --production && sudo -u discourse yarn cache clean && bundle exec rake maxminddb:get && find /var/www/discourse/vendor/bundle -name tmp -type d -exec rm -rf {} + && chown -R discourse:discourse /var/www/discourse
---> Running in d65ef9e12264
From https://github.com/discourse/discourse
+ b105c6c51...88dc6afe6 main -> origin/main (forced update)
+ a11599cbb...953282535 feature/shift-auto-upload-dropped-files-chat -> origin/feature/shift-auto-upload-dropped-files-chat (forced update)
+ b105c6c51...88dc6afe6 tests-passed -> origin/tests-passed (forced update)
Bundler 2.4.17 is running, but your lockfile was generated with 2.4.13. Installing Bundler 2.4.13 and restarting using that version.
Fetching gem metadata from https://rubygems.org/.
Fetching bundler 2.4.13
Installing bundler 2.4.13
Fetching gem metadata from https://rubygems.org/.........
Fetching https://github.com/rails/sprockets
Fetching rake 13.0.6
Installing rake 13.0.6
Fetching concurrent-ruby 1.2.2
Fetching minitest 5.18.1
Fetching builder 3.2.4
Fetching erubi 1.12.0
Installing erubi 1.12.0
Fetching racc 1.7.1
Installing builder 3.2.4
Installing minitest 5.18.1
Fetching crass 1.0.6
Installing racc 1.7.1 with native extensions
Installing concurrent-ruby 1.2.2
Fetching rack 2.2.7
Installing crass 1.0.6
Fetching mini_mime 1.1.2
Installing rack 2.2.7
Installing mini_mime 1.1.2
Using date 3.3.3
Fetching timeout 0.4.0
Fetching public_suffix 5.0.3
Fetching aws-eventstream 1.2.0
Installing timeout 0.4.0
Fetching aws-partitions 1.583.0
Installing aws-eventstream 1.2.0
Fetching jmespath 1.6.2
Installing public_suffix 5.0.3
Installing aws-partitions 1.583.0
Installing jmespath 1.6.2
Fetching msgpack 1.7.2
Using bundler 2.4.13
Fetching byebug 11.1.3
Fetching cbor 0.5.9.6
Installing msgpack 1.7.2 with native extensions
Installing cbor 0.5.9.6 with native extensions
Installing byebug 11.1.3 with native extensions
Using cgi 0.3.6
Fetching chunky_png 1.4.0
Installing chunky_png 1.4.0
Fetching coderay 1.1.3
Installing coderay 1.1.3
Fetching colored2 3.1.2
Installing colored2 3.1.2
Fetching connection_pool 2.4.1
Installing connection_pool 2.4.1
Using openssl 3.1.0
Fetching cppjieba_rb 0.4.2
Installing cppjieba_rb 0.4.2 with native extensions
Fetching google-protobuf 3.23.4 (x86_64-linux)
Installing google-protobuf 3.23.4 (x86_64-linux)
Fetching method_source 1.0.0
Installing method_source 1.0.0
Fetching thor 1.2.2
Installing thor 1.2.2
Fetching zeitwerk 2.6.8
Installing zeitwerk 2.6.8
Fetching tilt 2.2.0
Installing tilt 2.2.0
Fetching diffy 3.4.2
Installing diffy 3.4.2
Using digest 3.1.1
Fetching discourse-fonts 0.0.9
Installing discourse-fonts 0.0.9
Fetching email_reply_trimmer 0.1.13
Installing email_reply_trimmer 0.1.13
Fetching excon 0.100.0
Installing excon 0.100.0
Fetching execjs 2.8.1
Installing execjs 2.8.1
Fetching exifr 1.4.0
Installing exifr 1.4.0
Fetching faraday-net_http 3.0.2
Installing faraday-net_http 3.0.2
Using ruby2_keywords 0.0.5
Fetching fast_blank 1.0.1
Installing fast_blank 1.0.1 with native extensions
Fetching fast_xs 0.8.0
Installing fast_xs 0.8.0 with native extensions
Fetching fastimage 2.2.7
Installing fastimage 2.2.7
Fetching ffi 1.15.5
Installing ffi 1.15.5 with native extensions
Fetching fspath 3.1.2
Installing fspath 3.1.2
Fetching gc_tracer 1.5.1
Installing gc_tracer 1.5.1 with native extensions
Fetching guess_html_encoding 0.0.11
Installing guess_html_encoding 0.0.11
Fetching hana 1.3.7
Installing hana 1.3.7
Fetching hashie 5.0.0
Installing hashie 5.0.0
Fetching highline 2.1.0
Installing highline 2.1.0
Fetching hkdf 1.0.0
Installing hkdf 1.0.0
Fetching htmlentities 4.3.4
Fetching http_accept_language 2.1.1
Installing htmlentities 4.3.4
Fetching image_size 3.3.0
Installing http_accept_language 2.1.1
Fetching in_threads 1.6.0
Installing image_size 3.3.0
Installing in_threads 1.6.0
Fetching progress 3.6.0
Using json 2.6.3
Fetching regexp_parser 2.8.1
Installing progress 3.6.0
Fetching unf_ext 0.0.8.2
Installing regexp_parser 2.8.1
Fetching jwt 2.7.1
Installing unf_ext 0.0.8.2 with native extensions
Installing jwt 2.7.1
Fetching kgio 2.11.4
Installing kgio 2.11.4 with native extensions
Fetching libv8-node 18.16.0.0 (x86_64-linux)
Fetching logstash-event 1.2.02
Installing logstash-event 1.2.02
Fetching logster 2.12.2
Installing logster 2.12.2
Installing libv8-node 18.16.0.0 (x86_64-linux)
Fetching lru_redux 1.1.0
Installing lru_redux 1.1.0
Fetching lz4-ruby 0.3.3
Installing lz4-ruby 0.3.3 with native extensions
Fetching maxminddb 0.1.22
Installing maxminddb 0.1.22
Fetching memory_profiler 1.0.1
Installing memory_profiler 1.0.1
Fetching redis 4.8.1
Installing redis 4.8.1
Fetching mini_sql 1.4.0
Installing mini_sql 1.4.0
Fetching multi_json 1.15.0
Installing multi_json 1.15.0
Fetching multi_xml 0.6.0
Installing multi_xml 0.6.0
Fetching mustache 1.1.1
Installing mustache 1.1.1
Fetching uri 0.12.2
Installing uri 0.12.2
Fetching nio4r 2.5.9
Installing nio4r 2.5.9 with native extensions
Fetching version_gem 1.1.3
Installing version_gem 1.1.3
Fetching oj 3.15.0
Installing oj 3.15.0 with native extensions
Fetching optimist 3.0.1
Installing optimist 3.0.1
Fetching pg 1.4.6
Installing pg 1.4.6 with native extensions
Fetching raindrops 0.20.1
Installing raindrops 0.20.1 with native extensions
Fetching rchardet 1.8.0
Installing rchardet 1.8.0
Fetching rexml 3.2.5
Installing rexml 3.2.5
Fetching rinku 2.0.6
Installing rinku 2.0.6 with native extensions
Fetching rotp 6.2.2
Installing rotp 6.2.2
Fetching rqrcode_core 1.2.0
Installing rqrcode_core 1.2.0
Fetching rubyzip 2.3.2
Installing rubyzip 2.3.2
Fetching sshkey 2.0.0
Installing sshkey 2.0.0
Fetching stackprof 0.2.25
Installing stackprof 0.2.25 with native extensions
Fetching webrick 1.7.0
Installing webrick 1.7.0
Fetching i18n 1.14.1
Installing i18n 1.14.1
Fetching tzinfo 2.0.6
Installing tzinfo 2.0.6
Fetching rack-test 2.1.0
Installing rack-test 2.1.0
Using sprockets 3.7.2 from https://github.com/rails/sprockets (at 3.x@f4d3dae)
Fetching request_store 1.5.1
Installing request_store 1.5.1
Fetching message_bus 4.3.7
Installing message_bus 4.3.7
Fetching rack-mini-profiler 3.1.0
Installing rack-mini-profiler 3.1.0
Fetching rack-protection 3.0.6
Installing rack-protection 3.0.6
Using net-protocol 0.2.1
Fetching aws-sigv4 1.5.0
Installing aws-sigv4 1.5.0
Fetching addressable 2.8.4
Installing addressable 2.8.4
Fetching nokogiri 1.15.3 (x86_64-linux)
Installing nokogiri 1.15.3 (x86_64-linux)
Fetching openssl-signature_algorithm 1.3.0
Installing openssl-signature_algorithm 1.3.0
Fetching sass-embedded 1.63.6 (x86_64-linux-gnu)
Installing sass-embedded 1.63.6 (x86_64-linux-gnu)
Fetching pry 0.14.2
Installing pry 0.14.2
Fetching uglifier 4.2.0
Installing uglifier 4.2.0
Fetching faraday 2.7.10
Installing faraday 2.7.10
Fetching bootsnap 1.16.0
Installing bootsnap 1.16.0 with native extensions
Fetching omniauth 1.9.2
Installing omniauth 1.9.2
Fetching image_optim 0.31.3
Installing image_optim 0.31.3
Fetching web-push 3.0.0
Installing web-push 3.0.0
Fetching unf 0.1.4
Installing unf 0.1.4
Fetching logstash-logger 0.26.1
Installing logstash-logger 0.26.1
Fetching mini_racer 0.8.0
Installing mini_racer 0.8.0 with native extensions
Fetching sidekiq 6.5.9
Installing sidekiq 6.5.9
Fetching redis-namespace 1.11.0
Installing redis-namespace 1.11.0
Using net-http 0.3.2
Fetching oauth-tty 1.0.5
Installing oauth-tty 1.0.5
Fetching snaky_hash 2.0.1
Fetching mini_suffix 0.3.3
Installing snaky_hash 2.0.1
Fetching rbtrace 0.4.14
Installing mini_suffix 0.3.3
Fetching puma 6.3.0
Installing rbtrace 0.4.14 with native extensions
Installing puma 6.3.0 with native extensions
Fetching rss 0.2.9
Installing rss 0.2.9
Fetching rqrcode 2.2.0
Installing rqrcode 2.2.0
Fetching activesupport 7.0.5.1
Fetching tzinfo-data 1.2023.3
Installing activesupport 7.0.5.1
Installing tzinfo-data 1.2023.3
Fetching net-imap 0.3.6
Installing net-imap 0.3.6
Fetching net-pop 0.1.2
Installing net-pop 0.1.2
Fetching net-smtp 0.3.3
Fetching aws-sdk-core 3.130.2
Installing net-smtp 0.3.3
Fetching css_parser 1.14.0
Installing css_parser 1.14.0
Fetching loofah 2.21.3
Installing aws-sdk-core 3.130.2
Installing loofah 2.21.3
Fetching ruby-readability 0.7.0
Fetching sanitize 6.0.2
Installing sanitize 6.0.2
Fetching cose 1.3.0
Installing cose 1.3.0
Fetching dartsass-ruby 3.0.1
Installing dartsass-ruby 3.0.1
Fetching pry-byebug 3.10.1
Installing pry-byebug 3.10.1
Fetching pry-rails 0.3.9
Installing pry-rails 0.3.9
Fetching faraday-retry 2.2.0
Installing faraday-retry 2.2.0
Fetching oauth2 1.4.11
Installing oauth2 1.4.11
Fetching simpleidn 0.2.1
Installing ruby-readability 0.7.0
Fetching mini_scheduler 0.16.0
Installing simpleidn 0.2.1
Installing mini_scheduler 0.16.0
Fetching unicorn 6.1.0
Fetching oauth 1.1.0
Installing oauth 1.1.0
Fetching rtlcss 0.2.1
Installing rtlcss 0.2.1
Fetching rails-dom-testing 2.1.1
Installing unicorn 6.1.0 with native extensions
Installing rails-dom-testing 2.1.1
Fetching globalid 1.1.0
Installing globalid 1.1.0
Fetching activemodel 7.0.5.1
Installing activemodel 7.0.5.1
Fetching mail 2.8.1
Installing mail 2.8.1
Fetching rails-html-sanitizer 1.6.0
Installing rails-html-sanitizer 1.6.0
Fetching aws-sdk-kms 1.56.0
Installing aws-sdk-kms 1.56.0
Fetching aws-sdk-sns 1.53.0
Installing aws-sdk-sns 1.53.0
Fetching omniauth-oauth2 1.7.3
Installing omniauth-oauth2 1.7.3
Fetching json_schemer 1.0.3
Installing json_schemer 1.0.3
Fetching omniauth-oauth 1.2.0
Installing omniauth-oauth 1.2.0
Fetching activejob 7.0.5.1
Fetching active_model_serializers 0.8.4
Installing activejob 7.0.5.1
Fetching activerecord 7.0.5.1
Installing active_model_serializers 0.8.4
Fetching actionview 7.0.5.1
Installing activerecord 7.0.5.1
Installing actionview 7.0.5.1
Fetching aws-sdk-s3 1.114.0
Fetching omniauth-facebook 9.0.0
Installing aws-sdk-s3 1.114.0
Installing omniauth-facebook 9.0.0
Fetching omniauth-github 1.4.0
Fetching omniauth-google-oauth2 0.8.2
Installing omniauth-github 1.4.0
Fetching omniauth-twitter 1.4.0
Installing omniauth-google-oauth2 0.8.2
Fetching actionpack 7.0.5.1
Installing omniauth-twitter 1.4.0
Fetching actionview_precompiler 0.2.3
Installing actionview_precompiler 0.2.3
Fetching discourse-seed-fu 2.3.12
Installing actionpack 7.0.5.1
Installing discourse-seed-fu 2.3.12
Fetching actionmailer 7.0.5.1
Fetching railties 7.0.5.1
Installing actionmailer 7.0.5.1
Fetching sprockets-rails 3.4.2
Installing railties 7.0.5.1
Installing sprockets-rails 3.4.2
Fetching dartsass-sprockets 3.0.0
Fetching lograge 0.12.0
Installing lograge 0.12.0
Installing dartsass-sprockets 3.0.0
Fetching rails_failover 2.0.1
Fetching rails_multisite 5.0.0
Installing rails_failover 2.0.1
Installing rails_multisite 5.0.0
Bundle complete! 137 Gemfile dependencies, 173 gems now installed.
Gems in the groups 'test' and 'development' were not installed.
Bundled gems are installed into `./vendor/bundle`
Post-install message from image_optim:
Rails image assets optimization is extracted into image_optim_rails gem
You can safely remove `config.assets.image_optim = false` if you are not going to use that gem
Post-install message from oauth:
You have installed oauth version 1.1.0, congratulations!
Non-commercial support for the 1.x series will end by April, 2025. Please make a plan to upgrade to the next version prior to that date.
The only breaking change will be dropped support for Ruby 2.7 and any other versions which will also have reached EOL by then.
Please see:
• https://github.com/oauth-xx/oauth-ruby/blob/main/SECURITY.md
Note also that I am, and this project is, in the process of leaving Github.
I wrote about some of the reasons here:
• https://dev.to/galtzo/im-leaving-github-50ba
If you are a human, please consider a donation as I move toward supporting myself with Open Source work:
• https://liberapay.com/pboling
• https://ko-fi.com/pboling
• https://patreon.com/galtzo
If you are a corporation, please consider supporting this project, and open source work generally, with a TideLift subscription.
• https://tidelift.com/funding/github/rubygems/oauth
• Or hire me. I am looking for a job!
Please report issues, and support the project!
Thanks, |7eter l-|. l3oling
Post-install message from oauth2:
You have installed oauth2 version 1.4.11, which is EOL.
No further support is anticipated for the 1.4.x series.
OAuth2 version 2 is released.
There are BREAKING changes, but most will not encounter them, and upgrading should be easy!
We have made two other major migrations:
1. master branch renamed to main
2. Github has been replaced with Gitlab
Please see:
• https://gitlab.com/oauth-xx/oauth2#what-is-new-for-v20
• https://gitlab.com/oauth-xx/oauth2/-/blob/main/CHANGELOG.md
• https://groups.google.com/g/oauth-ruby/c/QA_dtrXWXaE
Please upgrade, report issues, and support the project! Thanks, |7eter l-|. l3oling
Post-install message from rubyzip:
RubyZip 3.0 is coming!
**********************
The public API of some Rubyzip classes has been modernized to use named
parameters for optional arguments. Please check your usage of the
following classes:
* `Zip::File`
* `Zip::Entry`
* `Zip::InputStream`
* `Zip::OutputStream`
Please ensure that your Gemfiles and .gemspecs are suitably restrictive
to avoid an unexpected breakage when 3.0 is released (e.g. ~> 2.3.0).
See https://github.com/rubyzip/rubyzip for details. The Changelog also
lists other enhancements and bugfixes that have been implemented since
version 2.3.0.
yarn install v1.22.19
[1/5] Validating package.json...
[2/5] Resolving packages...
[3/5] Fetching packages...
[4/5] Linking dependencies...
warning " > @mixer/parallel-prettier@2.0.3" has unmet peer dependency "prettier@^2.0.0".
[5/5] Building fresh packages...
$ yarn --cwd app/assets/javascripts $(node -e 'if(JSON.parse(process.env.npm_config_argv).original.includes(`--frozen-lockfile`)){console.log(`--frozen-lockfile`)}')
yarn install v1.22.19
[1/4] Resolving packages...
warning Resolution field "babel-plugin-ember-template-compilation@2.0.0" is incompatible with requested version "babel-plugin-ember-template-compilation@^2.0.1"
[2/4] Fetching packages...
[3/4] Linking dependencies...
warning " > babel-plugin-debug-macros@0.4.0-pre1" has unmet peer dependency "@babel/core@^7.0.0".
warning "workspace-aggregator-49258d8e-8e93-4124-8d49-39099445838e > discourse-common > @uppy/aws-s3@3.0.6" has incorrect peer dependency "@uppy/core@^3.1.2".
warning "workspace-aggregator-49258d8e-8e93-4124-8d49-39099445838e > discourse-common > @uppy/aws-s3-multipart@3.1.3" has incorrect peer dependency "@uppy/core@^3.1.2".
warning "workspace-aggregator-49258d8e-8e93-4124-8d49-39099445838e > discourse-common > @uppy/xhr-upload@3.1.1" has incorrect peer dependency "@uppy/core@^3.1.2".
warning "workspace-aggregator-49258d8e-8e93-4124-8d49-39099445838e > admin > ember-auto-import > babel-loader@8.3.0" has unmet peer dependency "webpack@>=2".
warning "workspace-aggregator-49258d8e-8e93-4124-8d49-39099445838e > admin > ember-auto-import > css-loader@5.2.7" has unmet peer dependency "webpack@^4.27.0 || ^5.0.0".
warning "workspace-aggregator-49258d8e-8e93-4124-8d49-39099445838e > admin > ember-auto-import > mini-css-extract-plugin@2.7.6" has unmet peer dependency "webpack@^5.0.0".
warning "workspace-aggregator-49258d8e-8e93-4124-8d49-39099445838e > admin > ember-auto-import > style-loader@2.0.0" has unmet peer dependency "webpack@^4.0.0 || ^5.0.0".
warning "workspace-aggregator-49258d8e-8e93-4124-8d49-39099445838e > discourse > ember-source > @babel/plugin-transform-block-scoping@7.22.5" has unmet peer dependency "@babel/core@^7.0.0-0".
warning "workspace-aggregator-49258d8e-8e93-4124-8d49-39099445838e > discourse > ember-source > @babel/plugin-transform-object-assign@7.22.5" has unmet peer dependency "@babel/core@^7.0.0-0".
warning "workspace-aggregator-49258d8e-8e93-4124-8d49-39099445838e > discourse-common > @uppy/aws-s3 > @uppy/xhr-upload@3.3.0" has incorrect peer dependency "@uppy/core@^3.2.1".
[4/4] Building fresh packages...
error /var/www/discourse/app/assets/javascripts/node_modules/discourse: Command failed.
Exit code: 1
Command: yarn --silent --cwd .. patch-package
Arguments:
Directory: /var/www/discourse/app/assets/javascripts/node_modules/discourse
Output:
error Command "patch-package" not found.
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
The command '/bin/sh -c git config --global --add safe.directory /var/www/discourse && git remote set-branches --add origin ${DISCOURSE_VERSION} && git fetch --depth 1 origin ${DISCOURSE_VERSION} && sudo -u discourse bundle config --local deployment true && sudo -u discourse bundle config --local path ./vendor/bundle && sudo -u discourse bundle config --local without test development && sudo -u discourse bundle install --jobs 4 && sudo -u discourse yarn install --production && sudo -u discourse yarn cache clean && bundle exec rake maxminddb:get && find /var/www/discourse/vendor/bundle -name tmp -type d -exec rm -rf {} + && chown -R discourse:discourse /var/www/discourse' returned a non-zero code: 1