New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Generate directives/controllers etc does not seem to work #1
Comments
Hi Mousaka, Thanks for using our generator! And for making the effort of reporting the issue. I'll try to help you as far as I can. Let's see, I've just created a new folder, Standing on the root of the folder, let's run the command and see what happen (I made a mistake in the spelling, but stay with me): https://asciinema.org/a/89vlt3ed0tgvtty8alrodv35x I didn't have that problem. So, let's make some checks:
If those are not your problems, which still persists, let's go step by step together so we can solve your issue. Greetings. |
Thanks for answering so quickly!
Here is a paste of my log of me doing all the steps from upgrading angular-require-fullstack and generating project to trying to use yo angular-require-fullstack:directive: |
Okay some out of the top of my head ideas (I'll keep looking for a solution though):
(look really well the first command before executing it, it will remove I'll keep on touch. |
Seems to be something really weird going on. Afterwards tried installing generator-angular to see if I could use its component-generator UPDATE:
UPDATE2: |
Mousaka, thanks for all the feedback. Really useful. I was using I think I've nailed a solution (though it was quite lame tbh), and I encourage you to update your generator and try once again (if you're still working with it). BUT when I said update, I mean, removing your old I'll be waiting for your feedback. Cheers. |
I can confirm that it works for me now! ✅ btw, I realised this structure is not what I was after so I have moved on. The reason is because I'm not really doing a web-app. Doing something more like a angular-directive-repo just containing small individual directives/modules that my real web-app can use with depenencies (a bit like https://github.com/angular-ui). Now I'm not using any generators and it's going quite well. |
Glad that you found out what works best for you. Anyways, thanks for your feedback, and good luck with your web-app! |
Hi,
First of all, this was the first yeoman generator with angularjs and requirejs that I was able generate a project without getting any errors or needed to fix something in order to get it running (I've tried 3 different ones). So good job on that!
However, I'm having another issue:
I have successfully generated a project with:
But I don't seem to be able to generate directives/controllers/etc:
So it seems like yeoman knows what "yo angular-require-fullstack" is but not what "yo angular-require-fullstack:directive" is for some reason.
Any ideas why?
Cheers
The text was updated successfully, but these errors were encountered: