generator-ionic icon indicating copy to clipboard operation
generator-ionic copied to clipboard

Install but it dosn't works

Open magisters-cc opened this issue 10 years ago • 17 comments

I install this tools with Git Bash in empty directory. If i run grunt serve, browser will open in new tab: http://localhost:8100/ , but ERR_CONNECTION_REFUSED. Why? In CLI i see Done, without errors. And if i use ionic serve, page are loaded.

magisters-cc avatar Jun 14 '15 22:06 magisters-cc

I have the same problem. ionic serve works fine, but grunt serve fails.

Saegrov avatar Jun 17 '15 11:06 Saegrov

Same issue here, any ideas?

JonathanWi avatar Jun 18 '15 09:06 JonathanWi

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 [email protected] that got my grunt serve to work.

mklewis avatar Jun 18 '15 14:06 mklewis

Whats up with this? having same issue

sclearion avatar Jun 18 '15 22:06 sclearion

mklewis will right, uninstall grunt-concurrent 1.0.1 and install [email protected] , thats solve the problem on my way.

magisters-cc avatar Jun 19 '15 00:06 magisters-cc

Thanks @mklewis , this solution worked for me, but what's going on with this?

GarySwift avatar Jun 22 '15 08:06 GarySwift

the solution didn't work for me on mac - unless npm package manager is wrong shows "grunt-concurrent": "~1.0.0"

landed1 avatar Jun 22 '15 16:06 landed1

@landed1 It worked fine for me on mac.

GarySwift avatar Jun 22 '15 16:06 GarySwift

ionic serve is failing - I created a separate issue

landed1 avatar Jun 22 '15 16:06 landed1

@lanceli in your package.json make sure the grunt-concurrent line is "grunt-concurrent": "1.0.0", remove the ~ . you can also run npm list --depth=0 to make sure you have the right version installed.

mklewis avatar Jun 22 '15 16:06 mklewis

Thanks I was getting a limit message that was trying to run ionic serve fixed with ulimit -S -n 2048

landed1 avatar Jun 22 '15 16:06 landed1

Thanks @mklewis worked for me!

jfbloom22 avatar Jun 22 '15 20:06 jfbloom22

Worked for me in Mac, thank you @mklewis

martin-eq avatar Jun 23 '15 05:06 martin-eq

@mklewis Dude, I've literally spent 2 days, resinstalled my OS 4 times, re did my npm at least 6, and I'm so happy you're solution worked. I'm a little bummed it was just all that simple, but yes this is definitely an issue.

I was using Elementary OS Freya (an Ubuntu based linux distro) using linux kernel 4, witht the most updated npm, node, yo, etc...

Again thank you so much!

torch2424 avatar Jun 23 '15 06:06 torch2424

Thanks @mklewis !

MrChoclate avatar Jun 26 '15 08:06 MrChoclate

Thanka @mklewis !

I owe you one lol!

lleitep3 avatar Aug 06 '15 18:08 lleitep3

@mklewis life saver!

shtaft avatar Oct 10 '15 22:10 shtaft