generator-craftplugin icon indicating copy to clipboard operation
generator-craftplugin copied to clipboard

Build Error

Open simplethemes opened this issue 7 years ago • 8 comments

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 avatar Mar 28 '17 18:03 simplethemes

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.

simplethemes avatar Mar 28 '17 18:03 simplethemes

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

khalwat avatar Apr 08 '17 16:04 khalwat

@simplethemes ?

khalwat avatar Apr 19 '17 13:04 khalwat

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.

simplethemes avatar Apr 19 '17 13:04 simplethemes

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

khalwat avatar Apr 19 '17 13:04 khalwat

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

simplethemes avatar Apr 19 '17 17:04 simplethemes

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

khalwat avatar Jun 29 '17 15:06 khalwat

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

beatsforthemind avatar May 10 '18 16:05 beatsforthemind