Comments (7)
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, testRequire
, in which I executed just yo
and chose from the list angular-require-fullstack
. The generator made the right scaffolding, and now I've a new project named testRequire
(after waiting for npm & bower install
that takes eons).
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:
- Do you have the latest version available of the generator installed? (
v0.2.1
) You can runyo
and then update our generator. - Are you standing in the right folder?
If those are not your problems, which still persists, let's go step by step together so we can solve your issue.
Greetings.
from generator-angular-require-fullstack.
Thanks for answering so quickly!
- I have v0.2.1
- I'm standing in the same folder as where I ran
yo angular-require-fullstack
which I assume is the right one. Before generation it was empty.
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:
https://gist.github.com/Mousaka/e626c0264c9f4b79ffff
from generator-angular-require-fullstack.
Okay some out of the top of my head ideas (I'll keep looking for a solution though):
- Did you run
yo doctor
? Perhaps there's something nasty going on. Especially if you've installed lots of other generators. - What about making sure you have the latest
yeoman
version installed. - And try installing once again our generator, and removing your unused generators. Something like running:
npm remove -g yo generator-* yeoman-generator
npm install -g yo generator-require-fullstack
(look really well the first command before executing it, it will remove yo
, the yeoman-generator
all ALL yours npm apps that start with a generator
prefix, you should check it before hitting enter)
I'll keep on touch.
from generator-angular-require-fullstack.
- yo doctor sais everything is fine.
- I have the latest yo 1.6.0
- Tried this, uninstalled everything and then only installed yo and generator-angular-require-fullstack, same result unfortunately.
Seems to be something really weird going on.
Afterwards tried installing generator-angular to see if I could use its component-generator yo angular:route myRoute
and that one worked.
UPDATE:
I also noticed using the command yo --generators
will show angular-require-fullstack but not any of the sub-generators like angular-require-fullstack:directive ->
krlu@workbot:~/temps/te$ yo --generators
Available Generators:
angular
common
constant
controller
decorator
directive
factory
filter
main
provider
route
service
value
view
angular-require-fullstack
UPDATE2:
I had my co-worker try this out as well on his computer. He also could not use or see the sub-generators.
from generator-angular-require-fullstack.
Mousaka, thanks for all the feedback. Really useful.
I was using npm link
all this time to test locally the project (from the cloned repository). But thanks to your issue I started to think there was something fishy going on, so I moved to Cloud9 for testing, and just then I could replicated your problem.
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 generator-angular-require-fullstack
and installing it once again.
I'll be waiting for your feedback.
Cheers.
from generator-angular-require-fullstack.
I can confirm that it works for me now!
Well done!
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.
from generator-angular-require-fullstack.
Glad that you found out what works best for you.
Anyways, thanks for your feedback, and good luck with your web-app!
from generator-angular-require-fullstack.
Related Issues (2)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from generator-angular-require-fullstack.