私は比較的最近Discourseの管理者になりましたが、経験豊富なパッケージ/システム管理者/開発者です。これはベータ版であることは理解しており、単に問題を報告しているだけで、後続のビルドで修正されると予想しています。問題は、これが実際に利用可能であることです。
Discourse自体を2回アップグレードしようとしましたが、同じ場所で同じエラーが発生しました。Docker Managerは直前に正常にアップグレードされました。ここで注目すべき奇妙な点は、Docker Managerは最新の状態(画像参照)として表示されており、フォーラムをアップグレードしているのに、ログの下部(以下参照)に次のように表示されていることです。
Docker Manager: FAILED TO UPGRADE。
お役に立てれば幸いです。
関連ログ:
[4/5] 依存関係のリンク中…
warning 「@glint/environment-ember-loose@1.1.0」には、ピア依存関係「@glimmer/component@^1.1.2」がありません。
warning 「@glint/environment-ember-template-imports@1.1.0」には、ピア依存関係「ember-template-imports@^3.0.0」がありません。
warning 「@mixer/parallel-prettier@2.0.3」には、ピア依存関係「prettier@^2.0.0」がありません。
[5/5] 新しいパッケージのビルド中…
$ yarn --cwd app/assets/javascripts $(node -e 'const argv = JSON.parse(process.env.npm_config_argv).original; const passthrough = [`--frozen-lockfile`, `-s`].filter(arg => argv.includes(arg)); console.log(passthrough.join(` `));')
yarn install v1.22.19
[1/4] パッケージの解決中…
warning Resolution field "unset-value@2.0.1" is incompatible with requested version "unset-value@^1.0.0"
[2/4] パッケージの取得中…
[3/4] 依存関係のリンク中…
warning "workspace-aggregator-dfb76705-117c-466a-beb5-2bb956000210 > discourse > @uppy/aws-s3@3.0.6" has incorrect peer dependency "@uppy/core@^3.1.2".
warning "workspace-aggregator-dfb76705-117c-466a-beb5-2bb956000210 > discourse > @uppy/aws-s3-multipart@3.1.3" has incorrect peer dependency "@uppy/core@^3.1.2".
warning "workspace-aggregator-dfb76705-117c-466a-beb5-2bb956000210 > discourse > @uppy/xhr-upload@3.1.1" has incorrect peer dependency "@uppy/core@^3.1.2".
warning "workspace-aggregator-dfb76705-117c-466a-beb5-2bb956000210 > discourse-plugins > ember-this-fallback@0.3.1" has unmet peer dependency "ember-source@^3.28.11 || ^4.0.0".
warning "workspace-aggregator-dfb76705-117c-466a-beb5-2bb956000210 > discourse > @uppy/aws-s3 > @uppy/xhr-upload@3.3.0" has incorrect peer dependency "@uppy/core@^3.2.1".
[4/4] 新しいパッケージのビルド中…
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:
patch-package 8.0.0
Applying patches...
@ember/jquery@2.0.0 ✔
@ember/legacy-built-in-components@0.4.2 ✔
babel-plugin-debug-macros@0.3.4 ✔
ember-source@3.28.12 ✔
ember-this-fallback@0.3.1 (1 initial) ✔
⛔ ERROR
Failed to apply patch file ember-this-fallback+0.3.1+002+themes.patch.
If this patch file is no longer useful, delete it and run
patch-package
To partially apply the patch (if possible) and output a log of errors to fix, run
patch-package --partial
After which you should make any required changes inside node_modules/ember-this-fallback, and finally run
patch-package ember-this-fallback
to update the patch file.
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.
Docker Manager: FAILED TO UPGRADE
#<RuntimeError: RuntimeError>

