"webpack started ..." "Building..." problem ionic serve


#1

Sometimes when I’m changing something in the .ts file, I have stuck to this message here

[19:54:17] build started …
[19:54:17] transpile update started …
[19:54:17] transpile update finished in 56 ms
[19:54:17] webpack started …

In the browser, I see the message “Building…”

I had to make command “ionic serve” again
After that, everything works


#2

Whats the full message? What version of app-scripts are you running?


#3

[22:59:13] transpile update started …
[22:59:14] transpile update finished in 48 ms
[22:59:14] webpack update started …
[22:59:19] build started …
[22:59:19] transpile update started …
[22:59:19] transpile update finished in 37 ms
[22:59:19] webpack update started …
[22:59:28] webpack update finished in 8.91 s
[22:59:28] build finished in 9.50 s
[22:59:28] build finished in 14.63 s
[23:00:27] build started …
[23:00:27] transpile update started …
[23:00:27] transpile update finished in 47 ms
[23:00:27] webpack started …

ionic-app-scripts 1.0.0

I can not give you an error message, because it does not exist.
Just at some point, ionic(webpack) stops watch changes

if you reload the page in your browser, it will be the latest version


#4

yup happens for me too. I think this happens only when i click save too many times when editing the code on live reload. I have to quit the existing process and run ionic serve again.


#5

Ionic Framework: ^2.0.0-rc.5-201701182146
Ionic Native: ^2.2.16
Ionic App Scripts: 1.0.0
Angular Core: 2.2.1
Angular Compiler CLI: 2.2.1
Node: 7.3.0
OS Platform: OS X Yosemite
Navigator Platform: MacIntel
User Agent: Mozilla/5.0 (Linux; Android 5.0; SM-G900P Build/LRX21T) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.95 Mobile Safari/537.36


#6

I’m facing this issue since long. I have to reserve at least 10 times a day. What could be an issue?

My system information:

Cordova CLI: 6.3.1
Ionic Framework Version: 2.0.0-rc.4
Ionic CLI Version: 2.1.12
Ionic App Lib Version: 2.1.7
Ionic App Scripts Version: 0.0.47
ios-deploy version: 1.8.4
ios-sim version: 5.0.4
OS: macOS Sierra
Node Version: v7.3.0
Xcode version: Xcode 8.1 Build version 8B62

PS: using Atom IDE


#7

Same here. Using VSCode.

Ionic serve hangs after some transpilations:
[16:59:09] build started …
[16:59:09] transpile update started …
[16:59:09] transpile update finished in 84 ms
[16:59:09] webpack started …
[16:59:19] build started …
[16:59:19] transpile started …
[16:59:33] transpile finished in 13.77 s
[16:59:33] webpack started …

My environment is:
Cordova CLI: 5.4.1
Ionic CLI Version: 2.1.18
Ionic App Lib Version: 2.1.9
ios-deploy version: Not installed
ios-sim version: Not installed
OS: Windows 10
Node Version: v7.3.0
Xcode version: Not installed


#8

Same here.
At some point the live reload stops working, and I see on the logs that the sass update doesn’t happen any more, and the serve keeps serving the same version of the app, despite any file updates.
I’m on ionic-app-scripts 1.0.0
Any help please?
I have been stuck with this for a week.


#9

Same problem here - on Windows 10. Seems to happen when making quick edits/saves - threading issue? This is a pain. Is this the right forum to report this kind of issue?


#10

Same issue here, even after it has been said on the GitHub issue that it was fixed. Quick-saving causes it.


#11

This problem went away for me when I downgraded my node version to 6.9.x from 7.x.x


#12

Looks like it’s also working on node version 8.7.0