Generating new plugin doesn't work

I was just trying to generate a new plugin for my matomo because I wanted to generate some custom reports, but it didn’t work.

This was the response i got:

WARNING [2020-05-18 08:39:59] 21717  /var/www/html/X/plugins/CoreConsole/Commands/GeneratePluginBase.php(56): Warning - file_put_contents(/var/www/html/X/plugins/X/CHANGELOG.md): failed to open stream: No such file or directory - Matomo 3.13.5 - Please report this message in the Matomo forums: https://forum.matomo.org (please do a search first as it might have been reported already)
WARNING [2020-05-18 08:39:59] 21717  /var/www/html/X/plugins/CoreConsole/Commands/GeneratePluginBase.php(56): Warning - file_put_contents(/var/www/html/X/plugins/X/X.php): failed to open stream: No such file or directory - Matomo 3.13.5 - Please report this message in the Matomo forums: https://forum.matomo.org (please do a search first as it might have been reported already)
WARNING [2020-05-18 08:39:59] 21717  /var/www/html/X/plugins/CoreConsole/Commands/GeneratePluginBase.php(56): Warning - file_put_contents(/var/www/html/X/plugins/X/README.md): failed to open stream: No such file or directory - Matomo 3.13.5 - Please report this message in the Matomo forums: https://forum.matomo.org (please do a search first as it might have been reported already)
WARNING [2020-05-18 08:39:59] 21717  /var/www/html/X/plugins/CoreConsole/Commands/GeneratePluginBase.php(56): Warning - file_put_contents(/var/www/html/X/plugins/X/config/config.php): failed to open stream: No such file or directory - Matomo 3.13.5 - Please report this message in the Matomo forums: https://forum.matomo.org (please do a search first as it might have been reported already)
WARNING [2020-05-18 08:39:59] 21717  /var/www/html/X/plugins/CoreConsole/Commands/GeneratePluginBase.php(56): Warning - file_put_contents(/var/www/html/X/plugins/X/config/tracker.php): failed to open stream: No such file or directory - Matomo 3.13.5 - Please report this message in the Matomo forums: https://forum.matomo.org (please do a search first as it might have been reported already)
WARNING [2020-05-18 08:39:59] 21717  /var/www/html/X/plugins/CoreConsole/Commands/GeneratePluginBase.php(56): Warning - file_put_contents(/var/www/html/X/plugins/X/docs/faq.md): failed to open stream: No such file or directory - Matomo 3.13.5 - Please report this message in the Matomo forums: https://forum.matomo.org (please do a search first as it might have been reported already)
WARNING [2020-05-18 08:39:59] 21717  /var/www/html/X/plugins/CoreConsole/Commands/GeneratePluginBase.php(56): Warning - file_put_contents(/var/www/html/X/plugins/X/docs/index.md): failed to open stream: No such file or directory - Matomo 3.13.5 - Please report this message in the Matomo forums: https://forum.matomo.org (please do a search first as it might have been reported already)
WARNING [2020-05-18 08:39:59] 21717  /var/www/html/X/plugins/CoreConsole/Commands/GeneratePluginBase.php(56): Warning - file_put_contents(/var/www/html/X/plugins/X/plugin.json): failed to open stream: No such file or directory - Matomo 3.13.5 - Please report this message in the Matomo forums: https://forum.matomo.org (please do a search first as it might have been reported already)

Plugin GoMatch 0.1.0 generated.
Our developer guides will help you developing this plugin, check out https://developer.matomo.org/guides
To see a list of available generators execute ./console list generate
Enjoy!

Error: error or warning logs detected, exit 1

When I try to activate the plugin it says that the Plugin cannot be found in the filesystem in plugins/ directory.

Can anybody help?

The reason is that in the download version on matomo.org these plugins are removed. When you download the version from Github all plugins are automatically installed and creating a plugin is no problem.

I created a dummy plugin, but matomo can’t see it to activate it.

./console generate:plugin --name=“MyPlugin” //creates MyPlugin in plugins
./console plugin:activate MyPlugin //doesn’t see MyPlugin
//also cannot see MyPlugin via the gui

I installed the developer files via Composer, as per instructions here:
https://developer.matomo.org/guides/getting-started-part-1