2017-12-27 3 views
-1

ボルト管理インターフェイスに拡張機能をインストールしたかったのです。できるだけ早く私は、ページを開くと、それは私のこのエラーを取得:ページのコンソールでのlookinボルトのタイプエラーCMS

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

を私が取得:

/** 
* 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. 
*/ 

:私が見つけたこのファイルで

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

では、手動で拡張機能をインストールする以外に何ができますか?私がこのように行くと、私はボルトも更新できません。

答えて

1

これは低レベルの例外によって発生します。クリスマスの直前の最新リリースでは、実際に何が起こっているかを少し詳しく知るためにJavaScriptが更新されています。

+0

これらの部分を特に更新することはできますか、またはプロジェクト全体をセットアップする必要はありますか? –

+1

'composer update bolt/bolt'を実行すると、それが処理されます – Gawain

+0

アップデートが動作しますが、サイトはまだ動作しません。 –