Toleo # 3017553: Ilibadilishwa [Varbase Media] Vipengele vya utegemezi kwenye usakinishaji: wezesha au utegemezi: wezesha moduli kwenye .info.yml na mtunzi.json kuwa na Tilde Version Range (~)
https://www.drupal.org/project/varbase_media/issues/3017553
Mfano bora
Ikiwa ungekuwa na tovuti yako ya Drupal iliyojengwa na
mtunzi kuunda mradi wa mtunzi-mtunzi / mradi wa drupali: 8.x-dev some-dir --stability dev --no-interaction
unaweza kuhariri faili ya composer.json na hatua zifuatazo
Badilisha:
"hazina": [ { "aina": "mtunzi", "url": "https://packages.drupal.org/8" } ],
na
"hazina": { "drupal": { "aina": "mtunzi", "url": "https://packages.drupal.org/8" }, "mali": { "aina": "mtunzi", "url": "https://asset-packagist.org" } },
Ongeza yafuatayo kwa: "zinahitaji": {
"npm-asset / dropzone": "^ 4.3.0", "npm-asset / blazy": "^ 1.8.2", "npm-asset / mjanja-jukwa": "^ 1.8.1", "drupal / varbase_media": "~ 6.0"
Ongeza yafuatayo kwa: "ziada": {
"aina za visakinishaji": [ "mali ya bower", "npm-mali" ],
Badilisha:
"wavuti / maktaba / {$ name}": ["aina: drupal-library"],
na
"wavuti / maktaba / mjanja": ["npm-asset / mjanja-jukwa"], "wavuti / maktaba / {$ jina}": [ "aina: maktaba ya drupal", "aina: bower-mali", "aina: npm-asset" ],
Ongeza yafuatayo kwa: "ziada": {
"maktaba za drupal": { "saraka ya maktaba": "wavuti / maktaba", "maktaba": [ {"jina": "dropzone", "kifurushi": "npm-asset / dropzone"}, {"jina": "blazy", "package": "npm-asset / blazy"}, {"jina": "mjanja", "kifurushi": "npm-asset / mjanja-jukwa"} ] }, "kuwezesha-kukataza": kweli, "mtunzi-toka-kwenye-kiraka-kutofaulu": ni kweli
Baada ya hapo unaweza kukimbia kwa
sasisho la mtunzi
Kisha sakinisha Drupal na kisha uwezesha Varbase Media