-
Notifications
You must be signed in to change notification settings - Fork 1.5k
"Invalid namespace" when running yo angular #56
Comments
For the moment, you can't install generators globally. See yeoman/generator#171 |
Wow. That was quick. Its working now. Will reply to Briand tweet where I copied the command from. Thanks!! |
Yep, that was my bad. I've attempted to alert the masses. |
I'm getting the same error in Windows:
Versions for reference:
|
:/ @rstuven: have you tried/can you try |
As said in the docs, it's not currently working in Windows. |
@btford Yes, :/ , but I'm trying to convince other team members to use yeoman ;)
|
@rstuven the :/ was for debugging platform-specific issues in general. I'll have to take a look at your fix, but thanks! |
This tripped me up too, in fact I was copy and pasting the instructions for an Angular scaffold directly from the website where it specifies the -g parameter: |
Global generators works now. Maybe you haven't updated yo, |
You are exactly right @kevva ! |
Ensure server is launched before tests
I successfully uninstalled grunt and installed yo, grunt-cli and bower as per instructions. I then verified that yo webapp did work
I then did npm install -g generator-angular and it seems to run fine
However, when running yo angular I get this error message ;
Error angular
Invalid namespace: angular (or not yet registered).
Registered: 4 namespace(s). Run with the
--help
option to list them.Please let me know if this is not the right place to post issues like these
The text was updated successfully, but these errors were encountered: