-
-
Notifications
You must be signed in to change notification settings - Fork 414
-
-
Notifications
You must be signed in to change notification settings - Fork 414
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Moodle plugins types not working correctly #214
Comments
@Mihailoff or @forloops would you mind helping out here? |
@danielneis, you forgot the most important part, you need to require composer/installers in your require section. At the minimum in your moodle root, you need:
|
thank you @forloops ! I was sure i was forgetting something, i may have tried "composer-installers" instead of the correct ""composer/installers" and haven't seen. thank you very much! =D |
Thanks @forloops! |
my pleasure :) |
Hello,
i am having some problems with installing Moodle Plugins with the composer-installers.
As noted here (https://github.com/danielneis/moodle-block_attendance/blob/master/composer.json), moodle should be supported by installer, although this page (https://composer.github.io/installers/) does not list Moodle as an option.
I am trying to add a package, to the "blocks" folder, but it is being added to vendor instead, as the type was not recognized.
I am using the following composer.json (https://github.com/danielneis/moodle-block_attendance/blob/master/composer.json) for the package:
And here is the composer.json I am using on moodle root folder (the require-dev was already there and also the first repository):
It clones the correct repository from github but it is done on vendors/ directory instead of blocks/ as it should.
Am I missing something?
Kind regards,
Daniel
The text was updated successfully, but these errors were encountered: