问题#3017553:已更改[Varbase Media]组件对安装的依赖性:启用或依赖性:启用.info.yml和composer.json中的模块以具有波浪号版本范围(〜)
https://www.drupal.org/project/varbase_media/issues/3017553 一个更好的例子 如果您的Drupal网站是使用 作曲家创建项目drupal-composer / drupal-project:8.x-dev some-dir --stability dev --no-interaction 您可以按照以下步骤编辑composer.json文件更换: “存储库”:[ { “ type”:“ composer”, “ url”:“
https://packages.drupal.org/8” } ], 与 “存储库”:{ “ drupal”:{ “ type”:“ composer”, “ url”:“
https://packages.drupal.org/8” }, “资产”:{ “ type”:“ composer”, “ url”:“
https://asset-packagist.org” } }, 将以下内容添加到:“ require”:{ “ npm-asset / dropzone”:“ ^ 4.3.0”, “ npm-asset / blazy”:“ ^ 1.8.2”, “ npm-asset / slick-carousel”:“ ^ 1.8.1”, “ drupal / varbase_media”:“〜6.0” 将以下内容添加到:“额外”:{ “安装程序类型”:[ “资产”, “ npm-asset” ], 更换: “ web / libraries / {$ name}”:[“ type:drupal-library”], 与 “ web / libraries / slick”:[“ npm-asset / slick-carousel”], “网络/图书馆/ {$ name}”:[ “类型:drupal库”, “ type:bower-asset”, “类型:npm-资产” ], 将以下内容添加到:“额外”:{ “ drupal库”:{ “ library-directory”:“ web / libraries”, “图书馆”:[ {“ name”:“ dropzone”,“ package”:“ npm-asset / dropzone”}, {“ name”:“ blazy”,“ package”:“ ...