Closed felixarntz closed 9 years ago
Interesting. I am not sure that that part of the generator is stable. If you are still having that problem and are interested in figuring out what is wrong I would love to take a PR.
Otherwise I will probably not be able to take a look at it until next weekend. Ether way, update this with anything you find.
Unfortunately I have no idea why this might be happening although I looked into it. I've just begun using yo (and also YeoPress) a few weeks ago. But it would be nice if you could look at it some time. I'm still having this same problem. Thank you!
See #115
For some reason, the plugin generator is not working for me. Whenever I run it, I get a message like this:
I simply ran
yo wordpress:plugin
and enteredwordpress-importer
for the prompt.To troubleshoot I went into the plugin/index.js file and inserted the line
console.log(input);
in the beginning of the filter function. It printed out an array containing the string "wordpress-importer", so it seems that for some reason the input was already turned into an array, therefore not having a method like split.