diegonetto / generator-ionic

Build hybrid mobile apps using the Ionic Framework
MIT License
1.74k stars 336 forks source link

ionic:serve died shortly after starting during grunt serve #241

Open petewarrior opened 9 years ago

petewarrior commented 9 years ago

Hi, Every time I run grunt serve, apparently ionic:serve keeps dying after 4-5 seconds, judging from the execution time. Running ionic serve works just fine, but of course since I'm editing the app folder the livereload doesn't work. I'm using Win7 SP1, node v0.12.7, and cordova v5.2.0. Please help?

Running "serve" task

Running "wiredep:app" (wiredep) task

Running "wiredep:sass" (wiredep) task

Running "clean:dist" (clean) task
>> 9 paths cleaned.

Running "clean:server" (clean) task
>> 0 paths cleaned.

Running "ngconstant:development" (ngconstant) task
Creating module config at app/scripts/configuration.js...OK

Running "wiredep:app" (wiredep) task

Running "wiredep:sass" (wiredep) task

Running "concurrent:server" (concurrent) task

Running "copy:vendor" (copy) task

Done, without errors.

Execution Time (2015-08-19 10:08:11 UTC)
loading tasks  15ms  ███████████████████ 39%
copy:vendor    22ms  ████████████████████████████ 58%
Total 38ms

Running "copy:styles" (copy) task
Copied 1 file

Done, without errors.

Execution Time (2015-08-19 10:08:11 UTC)
loading tasks  12ms  ██████████ 21%
copy:styles    45ms  █████████████████████████████████████ 78%
Total 58ms

Running "copy:fonts" (copy) task
Copied 4 files

Done, without errors.

Execution Time (2015-08-19 10:08:11 UTC)
loading tasks   14ms  ██████ 11%
copy:fonts     110ms  ██████████████████████████████████████████ 88%
Total 125ms

Running "compass:server" (compass) task
    write .temp/styles/main.css (0.008s)

Done, without errors.

Execution Time (2015-08-19 10:08:11 UTC)
compass:server  3.3s  ██████████████████████████████████████████████ 99%
Total 3.3s

Running "autoprefixer:dist" (autoprefixer) task
Autoprefixer's process() method is deprecated and will removed in next major rel
ease. Use postcss([autoprefixer]).process() instead
File .temp/styles/main.css created.
Autoprefixer's process() method is deprecated and will removed in next major rel
ease. Use postcss([autoprefixer]).process() instead
File .temp/styles/style.css created.

Running "newer:copy:app" (newer) task

Running "copy:app" (copy) task
Created 93 directories, copied 368 files

Running "newer-postrun:copy:app:1:D:\Android\leethours-ionic\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:D:\Android\leethours-ionic\node_modules\grunt-
newer\.cache" (newer-postrun) task

Running "concurrent:ionic" (concurrent) task
Running "watch" task
Waiting...
Running "ionic:serve" (ionic) task
Running live reload server: http://localhost:35729
Watching : [ 'www/**/*', '!www/lib/**/*' ]
Running dev server: http://localhost:8100
Ionic server commands, enter:
  restart or r to restart the client app from the root
  goto or g and a url to have the app navigate to the given url
  consolelogs or c to enable/disable console log output
  serverlogs or s to enable/disable server log output
  quit or q to shutdown the server and exit

ionic $
Done, without errors.

Execution Time (2015-08-19 10:08:23 UTC)
ionic:serve  5.7s  █████████████████████████████████████████████████ 100%
Total 5.7s

Execution Time

 (2015-08-19 10:08:05 UTC)Execution Time
 (2015-08-19 10:08:23 UTC)
concurrent:server     9s  ████████ 18%
copy:app            3.5swatch          32.3s████ 7%  ███████████████████████████
████████████████████████████ 100%
concurrent:ionic
Total 32.3s36.6s

  ████████████████████████████████ 73%
Total 50s
codegrean commented 9 years ago

@petewarrior follow this #223 Downgrading grunt-concurrent to 1.0.0 should fix this issue

pedubreuil commented 9 years ago

+1 for downgrading grunt-concurrent to 1.0.0 Thank you @shinejikids :)

DMDc0de commented 9 years ago

+1 for downgrading grunt-concurrent to 1.0.0

voznik commented 9 years ago

so many time wasted ... Thank you @shinejikids :)

pasupulaphani commented 8 years ago

+1