Sono un amministratore di Discourse abbastanza nuovo, ma con esperienza come amministratore di sistema/sviluppatore di pacchetti. Capisco che questa è una beta, sto solo segnalando il problema come informazione e sospetto che verrà corretto nelle build successive. Il problema è che questo è disponibile sul campo.
Ho provato ad aggiornare Discourse stesso, due volte, e ho ottenuto lo stesso errore nella stessa posizione. Il Docker Manager è stato aggiornato con successo immediatamente prima. Ciò che è strano da notare qui è che il Docker Manager risulta aggiornato (vedi immagine), e sto aggiornando il forum, ma in fondo al log (vedi sotto) dice:
Docker Manager: FAILED TO UPGRADE.
Spero sia utile.
Log pertinente:
[4/5] Linking dependencies...
warning " > @glint/environment-ember-loose@1.1.0" has unmet peer dependency "@glimmer/component@^1.1.2".
warning " > @glint/environment-ember-template-imports@1.1.0" has unmet peer dependency "ember-template-imports@^3.0.0".
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 '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] Resolving packages...
warning Resolution field "unset-value@2.0.1" is incompatible with requested version "unset-value@^1.0.0"
[2/4] Fetching packages...
[3/4] Linking dependencies...
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] 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:
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>

