Please provide us with the following information:
OS?
Windows 7, 8 or 10. Linux (which distribution). Mac OSX (Yosemite? El Capitan?)
OS X Sierra 10.12.1
Homebrew 1.0.8-133-g84d1661
Please run
ng --version. If there's nothing outputted, please run in a Terminal:node --versionand paste the result here:
v1.0.0-beta.18 installed. Cannot run command, ng command hangs
Was this an app that wasn't created using the CLI? What change did you do on your code? etc.
Type ng command. Nothing happens. Status bar in Terminal window shows: ng --version(node)
Have to Control-C to exit
None.
Thanks! We'll be in touch soon.
Ok, digging around, looks like it's a problem with watchman. I uninstalled that - after going back to Node 6.9.1 and ng still wasn't working, saw that watchman was trying to run. Uninstalling watchman seems to have worked.
@jtsom thx, had the same issue 馃憤
Strange thing is, on another system, having Watchman installed is not causing any problems.
I can run Node 7 just fine with angular-cli without watchman on this system. Add watchman, and it hangs. (For what it's worth, the Ember cli command does the same - not surprising as they're similar)
More testing. I tried installing watchman again, and ng was still hanging.
This time I uninstalled watchman (brew uninstall watchman) and also removed the launchctl item (launchctl remove com.github.facebook.watchman) to make sure it was gone.
ng worked fine. So I reinstalled watchman and started up an angular 2 app - and it seems to be ok now. The launchctl item reinstalled itself - I can only assume something got corrupted?
YMMV
This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.
Read more about our automatic conversation locking policy.
_This action has been performed automatically by a bot._