gruntjs - grunt serve runs but page not served [ionic project] -
the issue i'm having on newly generated blank ionic project 'grunt serve' runs without problem it's tasks, starts "ionic:serve" task strange when i'm dirrected 'http://localhost:8100/' page says: unable connect. when run 'ionic serve' in folder, index.html page on. strange. when run 'grunt serve --verbose' see no line report kind of issue, without issuing 'ionic serve' explicitly, can't server/page on.
can suggest issue or should looking?
it's yeoman's generated ionic project.
ionic.project:
{ "name": "yo", "app_id": "", "watchpatterns": ["www/**/*"] }
package.json:
{ "name": "txoffice", "version": "0.0.0", "private": true, "dependencies": {}, "devdependencies": { "grunt": "~0.4.5", "glob": "~4.3.5", "grunt-autoprefixer": "~2.2.0", "grunt-wiredep": "^2.0.0", "ionic": "^1.3.7", "grunt-concurrent": "~1.0.0", "grunt-contrib-clean": "~0.6.0", "grunt-contrib-concat": "~0.5.0", "grunt-contrib-connect": "~0.9.0", "grunt-contrib-copy": "~0.7.0", "grunt-contrib-cssmin": "~0.11.0", "grunt-contrib-htmlmin": "~0.3.0", "grunt-contrib-jshint": "~0.11.0", "grunt-contrib-uglify": "~0.7.0", "grunt-contrib-watch": "~0.6.1", "grunt-newer": "~1.1.0", "grunt-usemin": "~3.0.0", "grunt-ng-annotate": "~0.9.2", "grunt-ng-constant": "^1.0.0", "jshint-stylish": "~1.0.0", "load-grunt-tasks": "~3.1.0", "time-grunt": "~1.0.0", "cordova": "~4.2.0", "lodash": "~3.1.0", "mkdirp": "~0.5.0", "ncp": "~1.0.1", "orchestrator": "~0.3.7", "ripple-emulator": "~0.9.24", "elementtree": "0.1.6", "plist": "1.1.0", "win-spawn": "^2.0.0" }, "engines": { "node": ">=0.10.0" }, "scripts": { "test": "grunt test" }, "cordovaplugins": [ "org.apache.cordova.device", "org.apache.cordova.console", "com.ionic.keyboard", "org.apache.cordova.device", "org.apache.cordova.console", "com.ionic.keyboard", "com.ionic.keyboard", "org.apache.cordova.console", "org.apache.cordova.console", "org.apache.cordova.device", "com.ionic.keyboard", "org.apache.cordova.console", "org.apache.cordova.console", "org.apache.cordova.console", "org.apache.cordova.device", "org.apache.cordova.console", "com.ionic.keyboard" ], "cordovaplatforms": [ "android" ] }
grunt serve output:
$ grunt serve running "serve" task running "wiredep:app" (wiredep) task running "clean:dist" (clean) task >> 16 paths cleaned. running "clean:server" (clean) task >> 0 paths cleaned. running "ngconstant:development" (ngconstant) task creating module config @ app/scripts/configuration.js...ok running "wiredep:app" (wiredep) task running "concurrent:server" (concurrent) task running "copy:fonts" (copy) task copied 4 files done, without errors. execution time (2015-09-30 14:48:28 utc) loading tasks 8ms ▇▇▇▇▇▇▇▇▇▇▇ 22% copy:fonts 28ms ▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇ 76% total 37ms running "copy:styles" (copy) task copied 2 files done, without errors. execution time (2015-09-30 14:48:28 utc) loading tasks 5ms ▇▇▇▇▇▇▇▇▇▇ 21% copy:styles 19ms ▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇ 79% total 24ms running "copy:vendor" (copy) task done, without errors. execution time (2015-09-30 14:48:28 utc) loading tasks 5ms ▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇ 33% copy:vendor 10ms ▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇ 67% total 15ms running "autoprefixer:dist" (autoprefixer) task autoprefixer's process() method deprecated , removed in next major release. use postcss([autoprefixer]).process() instead file .temp/styles/main.css created. autoprefixer's process() method deprecated , removed in next major release. use postcss([autoprefixer]).process() instead file .temp/styles/style.css created. running "newer:copy:app" (newer) task running "copy:app" (copy) task created 94 directories, copied 352 files running "newer-postrun:copy:app:1:/home/tepo/yo/node_modules/grunt-newer/.cache" (newer-postrun) task running "newer:copy:tmp" (newer) task running "copy:tmp" (copy) task copied 2 files running "newer-postrun:copy:tmp:2:/home/tepo/yo/node_modules/grunt-newer/.cache" (newer-postrun) task running "concurrent:ionic" (concurrent) task running "ionic:serve" (ionic) task running "watch" task waiting... running live reload server: http://localhost:35729 watching : [ 'www/**/*' ] running dev server: http://localhost:8100 ionic server commands, enter: restart or r restart client app root goto or g , url have app navigate given url consolelogs or c enable/disable console log output serverlogs or s enable/disable server log output quit or q shutdown server , exit ionic $ done, without errors. execution time (2015-09-30 14:48:30 utc) ionic:serve 1.7s ▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇ 100% total 1.7s
even live reload server unreachable http://localhost:35729
thanks!
issue grunt-concurrent. date newest version (2.0.3) not working. need revert 1.0.0
Comments
Post a Comment