bricebou / grav-plugin-gis

MIT License
2 stars 0 forks source link

Missing files due to .gitignore #1

Open flomine opened 1 year ago

flomine commented 1 year ago

Plugin does not load. Error is

user/plugins/gis/vendor/autoload.php): Failed to open stream: No such file or directory

vendor directory is excluded due to /user/plugins/gis/.gitignore files

hughbris commented 1 year ago

I'm just someone passing by evaluating this plugin. I suspect your issue will be solved by running composer install inside your plugin folder. This should ideally be documented as part of the installation instructions.

Some plugins come bundled with all of the PHP dependencies under vendor and some expect you to build them yourself. There are pros and cons for each approach.

grahamIT commented 1 year ago

I'm just someone passing by evaluating this plugin. I suspect your issue will be solved by running composer install inside your plugin folder. This should ideally be documented as part of the installation instructions.

Some plugins come bundled with all of the PHP dependencies under vendor and some expect you to build them yourself. There are pros and cons for each approach.

Thanks that worked