Open unknown1337 opened 9 years ago
in my case open in http://localhost:8100 and does not launch browser
@unknown1337 follow this https://github.com/diegonetto/generator-ionic/issues/223
@danieldocki Thanks Daniel, #223 fixed the issue; the browser gets launched and the app is being loaded. I didn't expect these problems to be related. Maybe it's a good idea to refer to this problem in the quickstart?
btw, live reload doesn't work as expected for me:
but the reloaded app is always one change behind; so when i preform another change (add a space) and save this change, the previous change is visible.
+1
+1
same issue. thanks to @danieldocki. it works now. open browser and the application is up and running. but why is it on port 8100? it should be 9000 because of 'connect' config in the Gruntfile.json ...am I right?
thanks
I am encountering this issue as well and following the steps in #223 does not appear to have any affect. I'm running grunt serve on a Ubuntu 16.04 LTS platform with Node version 6.10.2 , npm version 3.10.10, grunt version 0.4.1 and grunt-concurrent version 0.5.0 (but I also tried 1.0.0 with the same results). Running 'grunt serve' opens the browser (chrome in my case), but does not pass the url to the browser on startup. If I subsequently manually navigate to the url (http://localhost:9000), all works beyond that point. Here is the grunt serve output.
`Running "serve" task (node:4426) DeprecationWarning: process.EventEmitter is deprecated. Use require('events') instead.
Running "clean:server" (clean) task Cleaning .tmp...OK
Running "wiredep:app" (wiredep) task
Running "concurrent:server" (concurrent) task Running "copy:styles" (copy) task Copied 1 files (node:4432) DeprecationWarning: process.EventEmitter is deprecated. Use require('events') instead.
Done, without errors.
Execution Time (2017-04-17 15:50:03 UTC) loading tasks 8ms ▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇ 33% copy:styles 15ms ▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇ 63% Total 24ms
Running "autoprefixer:dist" (autoprefixer) task File .tmp/styles/main.css created.
Running "connect:livereload" (connect) task Started connect web server on http://localhost:9000
Running "watch" task Waiting... `
after running
mkdir project && cd $_ yo ionic project grunt serve
I get the message done without errors, execution time,.... completed in... waiting.
But, no browser is being opened & manually serving to http://localhost:9000 does not work. (in the gruntfile, the port, specified in grunt server settings is 9000).
output:
ionic version: 1.6.1 generator-ionic version: 2.11.2