gpt4 book ai didi

php - Composer .json 错误 : "./composer.json" does not contain valid JSON

转载 作者:可可西里 更新时间:2023-11-01 13:13:22 27 4
gpt4 key购买 nike

<分区>

我制作了一个 composer.json 脚本。

当我运行 sudo composer install 时,出现此错误:

[Seld\JsonLint\ParsingException]               
"./composer.json" does not contain valid JSON
Parse error on line 1:
"repositories": [ { "t
--------------^
Expected one of: 'EOF', '}', ',', ']'

这是 JSON:

"repositories": [
{
"type":"package",
"package": {
"name": "AdamKyle/Aisis-Core",
"version":"development",
"source": {
"url": "https://github.com/AdamKyle/Aisis-Core.git",
"type": "git",
"reference":"development"
}
}
}
],
"require": {
"AdamKyle/Aisis-Core": "development"
}

我怎样才能更好地描述这个 JSON 是如何出错的?

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com