我想在螺栓管理界面中安装扩展。当我打开网页就得到我的这个错误:螺栓中的类型错误CMS
An unknown error occurred. This was the error message:
JSON.parse: unexpected character at line 1 column 1 of the JSON data
在页面的控制台看着我得到:
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
在这个文件中,我发现:
/**
* 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.
*/
那么除了手动安装扩展之外,我还能做什么?如果我这样去,我也不能更新Bolt。
我可以专门更新这些部件吗?还是必须设置整个项目? –
你可以运行'作曲者更新螺栓/螺栓',并会照顾它 – Gawain
更新的作品,该网站仍然不会。 –