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

  • gepatchte PHP Version 7.4 für Windows
  • Canvas Palette: Eine fertige Komponentenbibliothek für Drupal Canvas
  • Hilfe zu Updates oder Composer
  • Vergleich Drupal und Contao
  • [geloest] Blocks in Bootstrap nebeneinander darstellen und nicht untereinander
  • DrupalCamp Frankfurt 27-28 November 2026
  • Bitte mein Bentzerkonto löschen
  • Beim Aufruf einiger Inhalte erhalte ich folgende Fehlermeldung
  • Neuinstallation: vermutlich ein rewrite-Problem
  • Drupal CMS installieren
  • [erledigt]MP3 in Drupal 10 einbinden
  • (gelöst)Drupal 11 installieren
Weiter

Neue Kommentare

  • Muss ja nicht genau php 8.3 sein
    vor 1 Woche 7 Stunden
  • Guten morgen und Danke
    vor 1 Woche 14 Stunden
  • Evtl. versuchen auf PHP 8 zu wechseln
    vor 1 Woche 20 Stunden
  • Danke Schmittrich. Die Frage
    vor 1 Woche 2 Tagen
  • Keine Antwort auf die Frage nach dem Woher
    vor 1 Woche 2 Tagen
  • Danke ich werde mir die
    vor 7 Wochen 7 Stunden
  • Vielen Dank für Ihren
    vor 7 Wochen 3 Tagen
  • Composer ist sehr ratsam
    vor 7 Wochen 5 Tagen
  • Vielen Dank für den
    vor 8 Wochen 11 Stunden
  • Die alten CMS Vergleiche von contentmanager.de
    vor 8 Wochen 23 Stunden

Statistik

Beiträge im Forum: 250323
Registrierte User: 20573

Neue User:

  • alxshell
  • AnthonyhoF
  • Philiphelve

» 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 18 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