Я изо всех сил пытаюсь запустить модуль Gatsby в моем проекте Silverstripe.
Вот мой composer файл:
{
"name": "silverstripe/installer",
"type": "silverstripe-recipe",
"description": "The SilverStripe Framework Installer",
"require": {
"php": ">=7.3",
"silverstripe/recipe-plugin": "^1.3",
"silverstripe/recipe-cms": "4.5.0@stable",
"silverstripe-themes/simple": "^3.2.0",
"silverstripe/spamprotection": "^3.0.1",
"silverstripe/silverstripe-gatsby": "dev-master"
},
"require-dev": {
"phpunit/phpunit": "^5.7"
},
"extra": {
"resources-dir": "_resources",
"project-files-installed": [
"app/.htaccess",
"app/_config.php",
"app/_config/mysite.yml",
"app/src/Page.php",
"app/src/PageController.php"
],
"public-files-installed": [
".htaccess",
"index.php",
"web.config"
]
},
"config": {
"process-timeout": 600
},
"prefer-stable": true,
"minimum-stability": "dev"
}
Я добавил его в свой composer в соответствии со страницей плагина.
composer require silverstripe/silverstripe-gatsby
Когда я пытаюсь проверить конечную точку:
http://example.com/__gatsby/graphql
Я получаю это:
{"data":null,"errors":[{"message":"Syntax Error: Unexpected <EOF>","locations":[{"line":1,"column":1}]}]}
Я пытался проверить журналы, но понятия не имел, что происходит. Там не было найдено ошибок.
Есть ли способ включить отладку или что-то, что дает мне несколько советов, как решить эту проблему?