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

[gelöst] Webform Libraries Installation (encountered an unexpected error)

Eingetragen von Tropse (111)
am 21.10.2021 - 00:59 Uhr in
  • Anfängerfragen
  • Drupal 9.x oder neuer

Hallo,

sollte die Installation der Webform Libraries nicht so funktionieren?

drush webform:libraries:composer
drush webform:libraries:download
drush webform:composer:update
https://www.drupal.org/docs/contributed-modules/webform/webform-libraries

$ drush webform:libraries:composer
{
    "name": "drupal/webform",
    "description": "Enables the creation of webforms and questionnaires.",
    "type": "drupal-module",
    "license": "GPL-2.0-or-later",
    "minimum-stability": "dev",
    "homepage": "https://drupal.org/project/webform",

usw...

                "dist": {
                    "url": "https://unpkg.com/tippy.js@6.2.6/dist/tippy-bundle.umd.min.js",
                    "type": "file"
                },
                "require": {
                    "composer/installers": "~1.0"
                }
            }
        }
    }
}

$ drush webform:libraries:download
Downloading https://registry.npmjs.org/places.js/-/places.js-1.19.0.tgz
Extracting to /www/htdocs/allinkluser/domain.de/drupal/web/libraries/algolia.places
Downloading https://download.ckeditor.com/autogrow/releases/autogrow_4.16.2.zip
Extracting to /www/htdocs/allinkluser/domain.de/drupal/web/libraries/ckeditor.autogrow
usw.

$ drush webform:composer:update

THIS IS AN EXPERIMENTAL DRUSH COMMAND.
PLEASE MAKE SURE TO BACKUP YOUR COMPOSER.JSON FILE.
Are you sure you want update your Drupal installation's composer.json file? (yes/no) [yes]:
>

[warning] Attempt to assign property 'algolia.places' of non-object WebformCliService.php:1226
[warning] Attempt to assign property 'ckeditor.autogrow' of non-object WebformCliService.php:1226
[warning] Attempt to assign property 'ckeditor.codemirror' of non-object WebformCliService.php:1226
[warning] Attempt to assign property 'ckeditor.fakeobjects' of non-object WebformCliService.php:1226
[warning] Attempt to assign property 'ckeditor.image' of non-object WebformCliService.php:1226
[warning] Attempt to assign property 'ckeditor.link' of non-object WebformCliService.php:1226
[warning] Attempt to assign property 'codemirror' of non-object WebformCliService.php:1226
[warning] Attempt to assign property 'jquery.inputmask' of non-object WebformCliService.php:1226
[warning] Attempt to assign property 'jquery.intl-tel-input' of non-object WebformCliService.php:1226
[warning] Attempt to assign property 'jquery.rateit' of non-object WebformCliService.php:1226
[warning] Attempt to assign property 'jquery.select2' of non-object WebformCliService.php:1226
[warning] Attempt to assign property 'jquery.textcounter' of non-object WebformCliService.php:1226
[warning] Attempt to assign property 'jquery.timepicker' of non-object WebformCliService.php:1226
[warning] Attempt to assign property 'progress-tracker' of non-object WebformCliService.php:1226
[warning] Attempt to assign property 'signature_pad' of non-object WebformCliService.php:1226
[warning] Attempt to assign property 'tabby' of non-object WebformCliService.php:1226
[warning] Attempt to assign property 'tippyjs/6.x' of non-object WebformCliService.php:1226
/www/htdocs/allinkluser/domain.de/drupal/composer.json updated.
Make sure to run `composer update --lock`.

$ composer update --lock
Loading composer repositories with package information
Updating dependencies
Nothing to modify in lock file
Writing lock file
Installing dependencies from lock file (including require-dev)
Nothing to install, update or remove
Package doctrine/reflection is abandoned, you should avoid using it. Use roave/better-reflection instead.
Generating autoload files
40 packages you are using are looking for funding.
Use the `composer fund` command to find out more!

Dann kommt auf meiner Webseite aber nur noch:
"The website encountered an unexpected error. Please try again later."

Schon die zweite Drupalinstallation.
Was ist falsch? Danke.

‹ [gelöst] Wie bekommt man drupal bei all-inkl unter example.com? [gelöst] Webform Libraries Installation (encountered an unexpected error) ›
  • Anmelden oder Registrieren um Kommentare zu schreiben

Webform Libraries Installation via Composer

Eingetragen von Tropse (111)
am 30.10.2021 - 13:51 Uhr

Also noch mal von vorne, wie es hier steht:
https://www.drupal.org/docs/8/modules/webform/webform-frequently-asked-q...

1) Im project directory
composer require wikimedia/composer-merge-plugin

2) Edit "composer.json", man soll unter "extra": {

folgendes einfügen:

"merge-plugin": {
            "include": [
                "web/modules/contrib/webform/composer.libraries.json"
            ]
        },

Bei mir sieht "composer.json" so aus:

  "extra": {
        "drupal-scaffold": {
            "locations": {
                "web-root": "web/"
            }
        },
        "installer-paths": {
            "web/core": [
                "type:drupal-core"
            ],
            "web/libraries/{$name}": [
                "type:drupal-library"
            ],

Nach dem Edit soll es so aussehen oder?

  "extra": {
"merge-plugin": {
            "include": [
                "web/modules/contrib/webform/composer.libraries.json"
            ]
        },
        "drupal-scaffold": {
            "locations": {
                "web-root": "web/"
            }
        },
        "installer-paths": {
            "web/core": [
                "type:drupal-core"
            ],
            "web/libraries/{$name}": [
                "type:drupal-library"
            ],

3) Dann soll im Terminal
composer update --lock or composer update

Es folgt:
You cannot simultaneously update only a selection of packages and regenerate the lock file metadata.

4) Eigentlich will ich das: to install all the mentioned libraries in a local directory on your webserver, typically web/libraries, then you need to run
composer update --with-dependencies

Es scheint sich aber nichts zu machen?

Loading composer repositories with package information
Updating dependencies
Nothing to modify in lock file

Das scheint eine Lösung:
Vor Schritt 3)

composer require drupal/webform
composer update --with-dependencies

  • Anmelden oder Registrieren um Kommentare zu schreiben

Benutzeranmeldung

  • Registrieren
  • Neues Passwort anfordern

Aktive Forenthemen

  • für drupal11 ein Slider Modul
  • [gelöst] W3CSS Paragraphs Views
  • Drupal 11 neu aufsetzen und Bereiche aus 10 importieren
  • Wie erlaubt man neuen Benutzern auf die Resetseite zugreifen zu dürfen.
  • [gelöst] Anzeigeformat Text mit Bild in einem Artikel, Drupal 11
  • Social Media Buttons um Insteragram erweitern
  • Nach Installation der neuesten D10-Version kein Zugriff auf Website
  • Composer nach Umzug
  • [gelöst] Taxonomie Begriffe zeigt nicht alle Nodes an
  • Drupal 11 + Experience Builder (Canvas) + Layout Builder
  • Welche KI verwendet ihr?
  • Update Manger läst sich nicht Installieren
Weiter

Neue Kommentare

  • melde mich mal wieder, da ich
    vor 2 Wochen 1 Tag
  • Hey danke
    vor 2 Wochen 2 Tagen
  • Update: jetzt gibt's ein
    vor 2 Wochen 3 Tagen
  • Hallo, im Prinzip habe ich
    vor 3 Wochen 16 Stunden
  • Da scheint die Terminologie
    vor 3 Wochen 19 Stunden
  • Kannst doch auch alles direkt
    vor 3 Wochen 5 Tagen
  • In der entsprechenden View
    vor 3 Wochen 5 Tagen
  • Dazu müsstest Du vermutlich
    vor 3 Wochen 5 Tagen
  • gelöst
    vor 6 Wochen 1 Tag
  • Ja natürlich. Dass ist etwas,
    vor 6 Wochen 2 Tagen

Statistik

Beiträge im Forum: 250233
Registrierte User: 20452

Neue User:

  • ByteScrapers
  • Mroppoofpaync
  • 4aficiona2

» Alle User anzeigen

User nach Punkten sortiert:
wla9461
stBorchert6003
quiptime4972
Tobias Bähr4019
bv3924
ronald3857
md3717
Thoor3678
Alexander Langer3416
Exterior2903
» User nach Punkten
Zur Zeit sind 0 User und 27 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