generator-craftplugin
generator-craftplugin copied to clipboard
Build Error
When clicking Build I get:
RecursiveDirectoryIterator::__construct(/home/forge/pluginfactory.io/craft/storage/runtime/temp/pluginfactory/fisscheduledtasks): failed to open dir: No such file or directory
I was able to get it working again. Bug: If a user adds an underscore character "to the "Plugin Name" field e.g; My_Plugin, it will generate the above error.
hrm, which API were you generating while trying to do this?
@simplethemes ?
I'm not sure of the exact combination used. I'll try to recreate the issue again today and let you know first chance I get.
Well, what I mean was... were you creating a Craft 2.x plugin or a Craft 3.x plugin?
Craft 2.5.x using plugin name "My_Plugin" with code comments enabled and the ConsoleCommands option selected.
Ah yes, underscores are not allowed in plugin names. I probably should filter for that.
Confirmed that I also received this error with underscores in the module name.