Startseite
  • » Home
  • » Handbuch & FAQ
  • » Forum
  • » Übersetzungsserver
  • » Suche
Startseite › Forum › Drupalcenter.de › Anfängerfragen ›

[gelöst] composer/installers contains a Composer plugin which is currently not in your allow-plugins config?

Eingetragen von Tropse (111)
am 23.01.2022 - 21:46 Uhr in
  • Anfängerfragen
  • Drupal 9.x oder neuer

Hallo,

es soll einfach das aktuelle Drupal installiert werden.

composer create-project drupal/recommended-project DrupalProject
Creating a "drupal/recommended-project" project at "./DrupalProject"
Installing drupal/recommended-project (9.3.3)
  - Downloading drupal/recommended-project (9.3.3)
  - Installing drupal/recommended-project (9.3.3): Extracting archive
Created project in /www/htdocs/example.com/DrupalProject
Installing dependencies from lock file (including require-dev)
Verifying lock file contents can be installed on current platform.
Package operations: 62 installs, 0 updates, 0 removals
  - Downloading drupal/core (9.3.3)
  - Installing composer/installers (v1.12.0): Extracting archive
composer/installers contains a Composer plugin which is currently not in your allow-plugins config. See https://getcomposer.org/allow-plugins
Do you trust "composer/installers" to execute code and wish to enable it now? (writes "allow-plugins" to composer.json) [y,n,d,?] y
  - Installing drupal/core-composer-scaffold (9.3.3): Extracting archive
drupal/core-composer-scaffold contains a Composer plugin which is currently not in your allow-plugins config. See https://getcomposer.org/allow-plugins
Do you trust "drupal/core-composer-scaffold" to execute code and wish to enable it now? (writes "allow-plugins" to composer.json) [y,n,d,?] y
  - Installing drupal/core-project-message (9.3.3): Extracting archive
drupal/core-project-message contains a Composer plugin which is currently not in your allow-plugins config. See https://getcomposer.org/allow-plugins
Do you trust "drupal/core-project-message" to execute code and wish to enable it now? (writes "allow-plugins" to composer.json) [y,n,d,?] y

Was bedeutet die Abfrage?
composer/installers contains a Composer plugin which is currently not in your allow-plugins config. See https://getcomposer.org/allow-plugins
Do you trust "composer/installers" to execute code and wish to enable it now? (writes "allow-plugins" to composer.json) [y,n,d,?]
usw.

Ich werde aus dem Link https://getcomposer.org/allow-plugins nicht schlau, bin aber auch noch nicht vertraut mit Composer.
("allow-plugins" option adds a layer of security allowing...) Es geht um eine Steigerung der Sicherheit ja, aber wann macht man welche Option [y,n,d,?]?

Kann man das in ein paar Worten erklären?

Danke.

‹ Versendung und Verarbeitung regelmäßiger eMails mit Autologin-Bestätigungslink [gelöst] composer/installers contains a Composer plugin which is currently not in your allow-plugins config? ›
  • Anmelden oder Registrieren um Kommentare zu schreiben

Hier bei Kommentar #12

Eingetragen von montviso (2189)
am 24.01.2022 - 08:45 Uhr

Hier bei Kommentar #12 findest Du eine Antwort:
https://www.drupal.org/project/varbase/issues/3255863

Ich hatte das noch nie. Habe wohl noch composer 2.0 oder so. Ich kann deshalb auch nicht sagen, ob es kritisch ist, die Pakete alle zu erlauben.
Ich würde entweder zustimmen oder eine niedrigere composer version (mindestens 2.0) verwenden.

  • Anmelden oder Registrieren um Kommentare zu schreiben

Ich habe Composer 2.2.4, da

Eingetragen von Sammelzwerg (377)
am 24.01.2022 - 19:37 Uhr

Ich habe Composer 2.2.4, da ist das dabei. In meiner composer.json sind dann nach bestätigen mit y folgende Einträge vorhanden:

"allow-plugins": {
            "composer/installers": true,
            "cweagans/composer-patches": true,
            "drupal/core-composer-scaffold": true,
            "oomphinc/composer-installers-extender": true,
            "zaporylie/composer-drupal-optimizations": true

Diese wurden auch vorher schon benutzt, der Composer hat nur früher nicht nachgefragt.

  • Anmelden oder Registrieren um Kommentare zu schreiben

Danke euch beiden für die

Eingetragen von Tropse (111)
am 24.01.2022 - 21:30 Uhr

Danke euch beiden für die Erklärungen!

  • Anmelden oder Registrieren um Kommentare zu schreiben

Benutzeranmeldung

  • Registrieren
  • Neues Passwort anfordern

Aktive Forenthemen

  • Neuinstallation: vermutlich ein rewrite-Problem
  • Drupal CMS installieren
  • [erledigt]MP3 in Drupal 10 einbinden
  • (gelöst)Drupal 11 installieren
  • Titel ausblenden
  • Ich brauche dringen Hilfe zu Updates oder ggf. wwie geht Composer?
  • Dynamische Ansicht von Seiteninhalt (als Tabelle?)
  • Vergabe von Berechtigungen für bestimmte Rollen; mir fehlt der Haken bzw. das „Veröffentlicht“
  • Medien und andere Daten mit Feeds von Drupal 7 auf Drupal 10 migrieren
  • Rolle erstellen nicht zu finden
  • für drupal11 ein Slider Modul
  • [gelöst] W3CSS Paragraphs Views
Weiter

Neue Kommentare

  • Was für einen Server benutzt
    vor 5 Tagen 5 Stunden
  • Wenn die Subdomain auf
    vor 1 Woche 3 Stunden
  • ordnerstruktur
    vor 1 Woche 14 Stunden
  • Die Subdomain muß auf den
    vor 1 Woche 2 Tagen
  • Verwende doch das Tag dafür,
    vor 4 Wochen 4 Tagen
  • Guckst du hier: step by step
    vor 4 Wochen 4 Tagen
  • Guckst du hier: step by step
    vor 4 Wochen 4 Tagen
  • Ich habe ja keine Angst vor
    vor 5 Wochen 6 Tagen
  • Ist grundsätzlichmachbar – aber nichts für „einfach mal schnell“
    vor 6 Wochen 2 Tagen
  • Vielen Dank erst einmal, aber
    vor 6 Wochen 3 Tagen

Statistik

Beiträge im Forum: 250289
Registrierte User: 20515

Neue User:

  • Wolf Dab
  • Scottteday
  • MichaelPeeno

» Alle User anzeigen

User nach Punkten sortiert:
wla9466
stBorchert6003
quiptime4972
Tobias Bähr4019
bv3924
ronald3857
md3717
Thoor3678
Alexander Langer3416
Exterior2903
» User nach Punkten
Zur Zeit sind 0 User und 22 Gäste online.

Hauptmenü

  • » Home
  • » Handbuch & FAQ
  • » Forum
  • » Übersetzungsserver
  • » Suche

Quicklinks I

  • Infos
  • Drupal Showcase
  • Installation
  • Update
  • Forum
  • Team
  • Verhaltensregeln

Quicklinks II

  • Drupal Jobs
  • FAQ
  • Drupal-Kochbuch
  • Best Practice - Drupal Sites - Guidelines
  • Drupal How To's

Quicklinks III

  • Tipps & Tricks
  • Drupal Theme System
  • Theme Handbuch
  • Leitfaden zur Entwicklung von Modulen

RSS & Twitter

  • Drupal Planet deutsch
  • RSS Feed News
  • RSS Feed Planet
  • Twitter Drupalcenter
Drupalcenter Team | Impressum & Datenschutz | Kontakt
Angetrieben von Drupal | Drupal is a registered trademark of Dries Buytaert.
Drupal Initiative - Drupal Association