Quantcast
Channel: Neueste Diskussionen - Shopware Community Forum
Viewing all articles
Browse latest Browse all 14594

Grunt funktioniert mit 5.2.3 nicht mehr

$
0
0

Ich habe einen Neuen Shop von 5.1.6 auf 5.2.3 upgedatet, nun funktioniert leider Grunt nicht mehr, bisher konnte ich so Grunt installieren und starten:

1. Grunt installieren
Im Verzeichnis "src/shopware/themes/" folgendes ausführen:

sudo npm install grunt
sudo npm install grunt-cli
sudo npm install grunt-contrib-less
sudo npm install grunt-contrib-watch
sudo npm install grunt-contrib-uglify
sudo npm install grunt-contrib-jshint

2. Konfigurationsdatei erstellen
Im Verzeichnis "src/shopware/" folgendes ausführen:

php bin/console sw:theme:dump:configuration

3. Grunt watcher starten
Im Verzeichnis "src/shopware/themes/" folgendes ausführen:

grunt

Nun erhalte ich beim Ausführen von Schritt 2 folgenden Fehler:

 WARNING! Could not connect to database. Message from SQL Server: SQLSTATE[HY000] [2002] No such file or directory in /src/shopware/engine/Shopware/Components/DependencyInjection/Bridge/Db.php

[Symfony\Component\DependencyInjection\Exception\RuntimeException]                                              
  You have requested a synthetic service ("db_connection"). The DIC does not know how to construct this service.

Leider ist die Produktion mit dem Backend Less compiler sehr langsam in einer Entwicklungsumgebung, Grunt hat das ganze gewaltig beschleunigt. Hoffe auf Alternativen oder behebungen für den Fehler.

Grüße, Alex


Viewing all articles
Browse latest Browse all 14594


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>