Closed dkoo761 closed 9 years ago
@dkoo761 thanks for pointing that out. this is definitely something that needs to be handled better overall
in the short-term, can you see if the commit above fixes the issue?
sudo npm install -g https://github.com/chrisbutler/iron-cli/tarball/153c9f6949c12277437934d1195da4472991ed8c
Yes, that fixed it. Thanks for the speedy reply!
cool. this will go in 1.2.1, heh
After upgrading iron-cli to version 1.2, the following commands:
iron g:route tester
iron g:controller tester
produced this error for an existing iron-cli project:
TypeError: Cannot read property 'comments' of undefined
Eventually I figured out that I had to manually edit /.iron/config.json for my project to add this:
Hopefully this helps anyone else who runs into the same situation. Would be nice if the update to config.json it was handled automagically somehow.