Open snakemastr opened 3 years ago
Plugin dependencies are also not installed, but it should according to the OctoberCMS documentation? In my case Moshin.Oauth2 requires Moshin.Auth but the dependency is not installed. The plugin itself is installed without errors.
I am not sure what to expect. I have check the example and october-tricks example but could not find dependencies being marked as separate plugins.
Does it work if you remove all pugisn from the yaml
file? Without a stack track, this error could come from everywhere.
You can try and run php artisan plugin:install -v OFFLINE.Mall
manually, this should give you some more insights.
Thank you for replying. It looks like it really is dependency related. I installed with only OFFLINE.Mall plugin: no errors but also no RainLab dependencies installed. Then I enabled all original plugins and the problem appeared as soon as I added Mohsin.OAuth2. So I add it's only dependency Mohsin.Auth and now I am missing the dependency off Mohsin.Auth which is Mohsin.Rest.
I know installing a plugin with OctoberCMS will try to install plugin dependencies.
Unfortunately I can't get access to the logs and stacktraces. I tried mounting logs and bash while it's installing but to no avail.
Edit: installed without Mohsin and OFFLINE.Mall and got the app working. Then installed OFFLINE.Mall with plugin manager that in turn installed the dependencies. Added Mohsin to the october.yaml; no dependency.
I expected artisan plugin:install to install Plugin::$require dependencies but it turns out that's just a feature on the backend installation. The backend uses a callback onInstallPlugins to get all the required plugins and adds them as buildsteps.
Because I saw in this repo the example config with only OFFLINE.Mall without it's RainLab dependencies, I figured either the artisan command or this package would take of that.
Is my conclusion correct? If so, any chance this bootstrapper will be getting a feature like that?
During install I get the following error for each plugin and later on in october:fresh command
Am I missing a plugin or setting? I had a issue with Auth guard when October was updated to Laravel 6, could this be related? This is my october.yaml