nystudio107 / generator-craftplugin

generator-craftplugin is a Yeoman generator for Craft CMS plugins
MIT License
73 stars 30 forks source link

Build Error #26

Open simplethemes opened 7 years ago

simplethemes commented 7 years ago

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

simplethemes commented 7 years ago

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.

khalwat commented 7 years ago

hrm, which API were you generating while trying to do this?

khalwat commented 7 years ago

@simplethemes ?

simplethemes commented 7 years ago

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.

khalwat commented 7 years ago

Well, what I mean was... were you creating a Craft 2.x plugin or a Craft 3.x plugin?

simplethemes commented 7 years ago

Craft 2.5.x using plugin name "My_Plugin" with code comments enabled and the ConsoleCommands option selected.

khalwat commented 7 years ago

Ah yes, underscores are not allowed in plugin names. I probably should filter for that.

beatsforthemind commented 6 years ago

Confirmed that I also received this error with underscores in the module name.