-
Notifications
You must be signed in to change notification settings - Fork 307
Ionic serve hangs after build dev finished #282
Comments
You simply should move them to. /src folder. Yes, in the last releases they were in the aseets folder. Now they should be in src. Dunno if its a regression. |
Note to team: I cannot reproduce this using node 6.9.1 and npm 3.10.8 on my mac running the latest macOS. Maybe this is a windows specific issue then? |
I cannot recreate on MacOS with Node 4.x LTS either. Thanks, |
Repo to replicate the issue https://github.com/alan-agius4/ionic-app-scripts-issues On Monday, 31 October 2016, Dan Bucholtz [email protected] wrote:
|
Note, on another machine adding the files still didn't solve the issue. Which means there might be several causes of the issue. |
moving service-worker.js and manifest.json to src fixing the problem for me |
@alan-agius4 If you remove the custom webpack config (like #290 is mentioning) does this fix this issue for you? |
Unable to run ionic serve without a custom configuration. Running;
No custom build scripts or configuration, and runs fine until it hangs on |
@jgw96 I was unable to remove the custom webpack config file as my app won't build. What we noticed was that on Window 10, after the hang on |
What I have noticed is that if there are too many files in the project folder, I have noticed this because I just added a bunch of emoji artwork from EmojiOne, there are about 1,800 files. After I removed all the emoji files, I hope this information helps in resolving this issue, and I will post follow ups if I found anything new. @ionic/app-scripts: 0.0.39 |
I actually only have like 10 files and still hangs On Wednesday, 2 November 2016, Alan [email protected] wrote:
|
I have a large project with 30 pages in my app. After changing a file, |
I have the same problem and my project contains about 2000 small images. I figured out this only occurs with 'serve'. When i build the app it works fine. |
getting the following on windows:
ionic serve is not passing 'build dev finished' and hangs |
In case anyone runs to a similar issue, I fixed my:
Thx |
Tested on MAC as well as Linux with 4.x LTS version of node. It runs perfectly fine in MAC while in Linux you need to create those files inside /src folder to get the build running. I am using following ionic configuration for MAC and Linux: Cordova CLI: 6.4.0 |
Same behavior running Debian GNU/Linux: need to
|
Same issue here and adding those files to my existing RC0 project fixed this grave error. For Ionic Dev Team: It's great if your release candidates work with fresh new projects created from starter templates, but some of us are working on actual projects here and cannot start from anew every time a new version comes out. So please try to be verbose on any changes that might have an impact on us and test new releases on older projects too. If you add new files or move some please state this in the changelogs. |
Using It seems the issue is that the copy task never finishes EDIT: As it turns out i was missing the package |
Failing silently is the real problem here. |
We have increased our testing efforts on Windows so I will take a look at this now. |
@alan-agius4, @kashban and @cmaart, I think I fixed this. Can you test our nightly build when you get a chance and see if there are any other ill effects from this? It seems to be working well on Windows and Mac.
Thanks, |
Thanks Dan, will do once I am in the office again on Monday. |
I, too, have this problem. A silent failure wherein
Windows 10 |
@joshbabb, Can you try to identify what the issue is? What I was seeing in my testing was an issue with trying to The
Please let me know. Thanks, |
Short description of the problem:
Ionic serve is hangs when
![image](https://cloud.githubusercontent.com/assets/17563226/19847286/28713856-9f46-11e6-841f-5c667841d631.png)
manifest.json
and/orservice-worker.js
are missing, As shown belowWhat behavior are you expecting?
When I add both files it works as expected, thus the warnings are infact errors?
![image](https://cloud.githubusercontent.com/assets/17563226/19847301/40dd370a-9f46-11e6-9d14-62aebf39209f.png)
Versions
The text was updated successfully, but these errors were encountered: