2017-12-27 4 views
-1

Ich wollte Erweiterungen in der Schraube Admin-Schnittstelle installieren. Sobald ich die Seite öffnen wird es meinen diesen Fehler:TypeError in Bolzen CMS

An unknown error occurred. This was the error message: JSON.parse: unexpected character at line 1 column 1 of the JSON data

an der Konsole auf der Seite Lookin ich:

TypeError: n.error is undefined [Learn More] bolt.js:9:20734
n >http://localhost/bolt-public/js/bolt.js:9:20734
o/ http://localhost/bolt-public/js/bolt.js:9:23517
l >http://localhost/bolt-public/js/lib.js:1:37033
fireWith >http://localhost/bolt-public/js/lib.js:1:37801
r >http://localhost/bolt-public/js/lib.js:1:74124
n/< >http://localhost/bolt-public/js/lib.js:1:79953

In dieser Datei, die ich gefunden:

/** 
* These are Bolt’s COMPILED JS files! 
* Do not edit this file, because all changes will be lost. You can edit the 
* `*.js` files in `app/src/js/` and then run `yarn grunt updateBolt` to generate 
* this file. You will need to use the "Clone the Git Repository" installation method, to 
* get these files. See: https://docs.bolt.cm/core-development/install-git-clone, 
* as well as the `README.md` file in the `app/src/` folder. 
*/ 

Was kann ich tun, außer die Erweiterungen manuell zu installieren? Wenn ich diesen Weg gehe, kann ich auch Bolt nicht aktualisieren.

Antwort

1

Das wird durch eine Low-Level-Ausnahme verursacht, die neueste Version von kurz vor Weihnachten hat Updates für das JavaScript, um etwas informativer darüber zu sein, was wirklich vor sich geht.

+0

Kann ich diese Teile speziell aktualisieren oder muss ich das gesamte Projekt einrichten? –

+1

Sie können 'Composer Update bolt/bolt' ausführen und das wird sich darum kümmern – Gawain

+0

Das Update funktioniert, die Website wird immer noch nicht. –

Verwandte Themen