Skip to content
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

Grunt serve serves up blank page #223

Open
mhartington opened this issue Jul 2, 2015 · 12 comments
Open

Grunt serve serves up blank page #223

mhartington opened this issue Jul 2, 2015 · 12 comments

Comments

@mhartington
Copy link

Grunt serve brings a blank page with an error

This webpage is not available

ERR_CONNECTION_REFUSED

While ionic serve works fine.
There are no errors in the build process so I'm not sure where the issue is.

Steps to reproduce:

Create a project without sass, standard plugins, no additional packages.

@niyando
Copy link

niyando commented Jul 3, 2015

Refer #209
Downgrading grunt-concurrent to 1.0.0 should fix this issue

@yogesh-kamble
Copy link

I was having the same issue and to resolve I downgraded grunt-concurrent to 1.0.0
sudo npm uninstall grunt-concurrent
sudo npm install grunt-concurrent@1.0.0

@webspeaks
Copy link

Thanks, it worked.
Will it be fixed with newer versions of concurrent?

@landed1
Copy link

landed1 commented Jul 13, 2015

Thank you so much for this ! Lost some time hope this info filters into more mainstream as it appears to be an ionic/cordova thing perhaps or at least hard to get a clue on why it fails..

@djett41
Copy link

djett41 commented Jul 14, 2015

this works!!

@yeshodhan
Copy link

@niyando @yogesh-kamble thanks. downgrading works.

unknown1337 added a commit to unknown1337/generator-ionic that referenced this issue Jul 29, 2015
add link to issue diegonetto#223 to save people trouble/ prevent them for looking of other frameworks/ solutions
Odi55555 pushed a commit to Odi55555/badminton that referenced this issue Jul 29, 2015
@dinesh-cspl
Copy link

@yogesh-kamble Thanks thanks thanks mate for the solution

@abdulwahid24
Copy link

@yogesh-kamble Thanks a lot man.

@JWesorick
Copy link

@yogesh-kamble @niyando Thanks!

@razbensimon
Copy link

+1

same issue. thanks to @niyando. it works now.
open browser and the application is up and running.

but it on port 8100! ....(why?). it should be 9000 because of 'connect' config in the Gruntfile.json ...am I right?

and one more question. will you update package.json file to have in devDependencies:
"grunt-concurrent": "^1.0.0",

?

thanks

@JoaoGuedes
Copy link

@refactorman the connect task is used within the coverage task only, check the Gruntfile at the bottom. If you want to run ionic on another port you'll have to run it with grunt serve -p port_number, -p port_number is passed onto ionic-cli

@razbensimon
Copy link

Thank You! @JoaoGuedes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests