yeoman / generator-webapp_DEPRECATED

Yeoman generator that scaffolds out a front-end web app
http://yeoman.io
974 stars 310 forks source link

unable to run grunt serve with the following error on win7 #588

Closed calidion closed 9 years ago

calidion commented 9 years ago

Warning: PhantomJS unable to load "http://0.0.0.0:9001/index.html" URI.

calidion commented 9 years ago

it would be ok to change hostname from '0.0.0.0' to 'localhost'

silvenon commented 9 years ago

It should be serving from localhost, I don't see why it's suddenly 0.0.0.0 on Windows. Also, why is it running PhantomJS on grunt serve, shouldn't that be running on grunt test? Could you poke around the issue some more and post a stack trace?

calidion commented 9 years ago

sorrry, grunt not grunt serve

eddiemonge commented 9 years ago

Its 0.0.0.0 specifically to listen on all addresses, not just localhost, so you can test from other computers and VMs as well as your machine. When you open a browser or specify what to open on your local machine, you can change it to localhost or 127.0.0.1