I'm facing an issue where my 2.4.5 https://<magentostore>/graphql
endpoint is returning a 404. After some research it seems that none of the Magento GraphQl packages are installed by composer. My store is running on Magento 2.4.5 for some time now. This issue is present on both my development and production server.
My composer.json
file contains all of the GraphQl modules within the "replace" object. Taken from the default Magento 2.4.5 composer.json
file.
No errors come up during composer install
. I've tried removing the vendor folder and re-installing all packages. As shown in my screenshot, the magento/module-graph-ql
is also present in my composer.lock
file.
I'm guessing this is not entirely Magento related, since it is about missing packages in my vendor folder. But the odd thing about this is, none of the Magento GraphQl packages are installed. Magento itself is running fine on 2.4.5 for some time already. So apparently it's fine that it is missing GraphQL core files.
Any suggestions on how to debug why packages listed in the package.lock
are not actually installed in the vendor folder?
I'm also not using any modules to disable Magento core modules.
Any help is appreciated.