cms:drupal:drupal10try3
差分
このページの2つのバージョン間の差分を表示します。
両方とも前のリビジョン前のリビジョン次のリビジョン | 前のリビジョン次のリビジョン両方とも次のリビジョン | ||
cms:drupal:drupal10try3 [2023/11/26 14:33] – [why-not] king | cms:drupal:drupal10try3 [2023/11/26 14:44] – [no-update] king | ||
---|---|---|---|
行 69: | 行 69: | ||
===== insertモジュール削除 ===== | ===== insertモジュール削除 ===== | ||
+ | サイト上でuninstallしたあと、 | ||
+ | <code bash> | ||
+ | $ composer remove drupal/ | ||
+ | ./ | ||
+ | Running composer update drupal/ | ||
+ | Loading composer repositories with package information | ||
+ | Updating dependencies | ||
+ | Lock file operations: 0 installs, 0 updates, 1 removal | ||
+ | - Removing drupal/ | ||
+ | Writing lock file | ||
+ | Installing dependencies from lock file (including require-dev) | ||
+ | Package operations: 0 installs, 0 updates, 1 removal | ||
+ | - Removing drupal/ | ||
+ | Deleting modules/ | ||
+ | Package doctrine/ | ||
+ | Package symfony/ | ||
+ | Generating autoload files | ||
+ | Hardening vendor directory with .htaccess and web.config files. | ||
+ | 46 packages you are using are looking for funding. | ||
+ | Use the `composer fund` command to find out more! | ||
+ | Cleaning vendor directory. | ||
+ | No security vulnerability advisories found. | ||
+ | </ | ||
+ | がしかし、まだ機能拡張には残ってる(composer.jsonには無くなっていたのに)。./ | ||
+ | |||
+ | 削除してしまう。 | ||
+ | |||
+ | |||
+ | |||
===== composer update ===== | ===== composer update ===== | ||
- | 初めてエラーなく動いたのか? | + | https:// |
+ | |||
+ | ==== no-update ==== | ||
+ | < | ||
+ | composer require ' | ||
+ | </ | ||
+ | |||
+ | composer.jsonから、devの記述は前回消してしまったので、このままで | ||
+ | < | ||
+ | composer update | ||
+ | </ | ||
+ | |||
+ | おっ! 初めてエラーなく動いたのか? | ||
<code bash> | <code bash> | ||
$ composer update | $ composer update | ||
行 248: | 行 289: | ||
</ | </ | ||
+ | ==== composer install ==== | ||
+ | < | ||
+ | すべてがうまくいけば、エラーは表示されませんし、「インストール、更新、削除するものはありません」も表示されます。 | ||
+ | </ | ||
+ | |||
+ | $ composer install | ||
+ | Installing dependencies from lock file (including require-dev) | ||
+ | Verifying lock file contents can be installed on current platform. | ||
+ | Nothing to install, update or remove | ||
+ | Generating autoload files | ||
+ | Hardening vendor directory with .htaccess and web.config files. | ||
+ | 45 packages you are using are looking for funding. | ||
+ | Use the `composer fund` command to find out more! | ||
+ | Scaffolding files for drupal/ | ||
+ | - Copy [web-root]/ | ||
+ | - Copy [web-root]/ | ||
+ | - Copy [web-root]/ | ||
+ | - Copy [web-root]/ | ||
+ | - Copy [web-root]/ | ||
+ | * Homepage: https:// | ||
+ | * Support: | ||
+ | * docs: https:// | ||
+ | * chat: https:// | ||
+ | Cleaning vendor directory. | ||
+ | </ | ||
+ | |||
+ | エラーなく終了 | ||
cms/drupal/drupal10try3.txt · 最終更新: 2023/11/26 21:22 by king