# \[SOLVED\] Blank app with ionic serve after git clone

**URL:** <https://forum.ionicframework.com/t/solved-blank-app-with-ionic-serve-after-git-clone/55842>\
**Category:** ionic-v3\
**Created:** [June 26, 2016, 4:48pm UTC](https://forum.ionicframework.com/t/solved-blank-app-with-ionic-serve-after-git-clone/55842 "2016-06-26T16:48:11Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dimitrios](https://avatars.discourse-cdn.com/v4/letter/d/b3f665/32.png) [@Dimitrios](https://forum.ionicframework.com/u/Dimitrios)\
**Post date:** [June 26, 2016, 4:48pm UTC](https://forum.ionicframework.com/t/solved-blank-app-with-ionic-serve-after-git-clone/55842/1 "2016-06-26T16:48:11Z")

</div>

Hello,

I have a working app (Ionic 2 Beta 7). I pushed to Github, then git cloned into a different folder.  
Ran `npm install` and` ionic state restore`. However, `ionic serve` still produces a blank app.  
The only error message in Chrome’s dev tools is

> [http://localhost:8100/build/js/app.bundle.js](http://localhost:8100/build/js/app.bundle.js) Failed to load resource: the server responded with a status of 404 (Not Found)

I have read topics here and on Github but haven’t managed to make it work.  
Tried bower install & running cmd as admin, nothing.  
For the record, everything is on C:\ drive, where Node is installed as well.

---

<div class="post-metadata">

**Author:** ![beck24](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/beck24/32/112174_2.png) [@beck24](https://forum.ionicframework.com/u/beck24)\
**Post date:** [June 27, 2016, 2:51am UTC](https://forum.ionicframework.com/t/solved-blank-app-with-ionic-serve-after-git-clone/55842/2 "2016-06-27T02:51:29Z")

</div>

are there any errors - typescript or otherwise preventing the build? Perhaps you installed plugins in the original project without the --save flag and it’s erroring out due to a missing pluign?

---

<div class="post-metadata">

**Author:** ![maxx0r](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/maxx0r/32/91299_2.png) [@maxx0r](https://forum.ionicframework.com/u/maxx0r)\
**Post date:** [June 27, 2016, 8:24am UTC](https://forum.ionicframework.com/t/solved-blank-app-with-ionic-serve-after-git-clone/55842/3 "2016-06-27T08:24:55Z")

</div>

Theres an error in the config

ionic-gulp-browserify-typescript

set that dependency in your package to 1.1.0 instead of ^1.1.0

---

<div class="post-metadata">

**Author:** ![Dimitrios](https://avatars.discourse-cdn.com/v4/letter/d/b3f665/32.png) [@Dimitrios](https://forum.ionicframework.com/u/Dimitrios)\
**Post date:** [June 28, 2016, 10:57pm UTC](https://forum.ionicframework.com/t/solved-blank-app-with-ionic-serve-after-git-clone/55842/4 "2016-06-28T22:57:49Z")

</div>

I did just fix that but it still gives a blank page (I only took the “^” out for ionic-gulp-browserify-typescript. Should I do it for everything?)

Give a look to the build log. It looks fine but the thing still doesn’t work… -\_-

![image](https://global.discourse-cdn.com/ionicframework/original/3X/7/8/78f44aaf90c8e0574000ba40dd154dcfff718035.png)

Also, here’s the Chrome window. Dev tools shows that basically no app sources are loaded 😕

 ![image](https://global.discourse-cdn.com/ionicframework/original/3X/c/7/c7809a3d1c56c62deb33f34c7e79e2fb6f27b05b.png)

---

<div class="post-metadata">

**Author:** ![Dimitrios](https://avatars.discourse-cdn.com/v4/letter/d/b3f665/32.png) [@Dimitrios](https://forum.ionicframework.com/u/Dimitrios)\
**Post date:** [June 28, 2016, 11:15pm UTC](https://forum.ionicframework.com/t/solved-blank-app-with-ionic-serve-after-git-clone/55842/5 "2016-06-28T23:15:48Z")

</div>

**[SOLVED]**  
Turns out you need to remove the “^” and **re-run npm install.**  
(I had only ran it in the beginning).

Similar issue here:

> [@Ionic 2 Not Generating app.bundle.js](https://forum.ionicframework.com/t/ionic-2-not-generating-app-bundle-js/55640/3):
>
> Thank you, that worked! We had "ionic-gulp-browserify-typescript": "^1.1.0", , I changed to "ionic-gulp-browserify-typescript": "1.1.0", (removed the caret) and ran npm install. Then things started working.

---

<div class="post-metadata">

**Author:** ![maxx0r](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/maxx0r/32/91299_2.png) [@maxx0r](https://forum.ionicframework.com/u/maxx0r)\
**Post date:** [June 29, 2016, 8:23am UTC](https://forum.ionicframework.com/t/solved-blank-app-with-ionic-serve-after-git-clone/55842/6 "2016-06-29T08:23:53Z")

</div>

Yes. With every change to package.json you should run npm install, because otherwise it doesn’t affect anything. I could’ve stated that 🙂 Good you figured out!

---

<div class="post-metadata">

**Author:** ![Dimitrios](https://avatars.discourse-cdn.com/v4/letter/d/b3f665/32.png) [@Dimitrios](https://forum.ionicframework.com/u/Dimitrios)\
**Post date:** [June 29, 2016, 11:34am UTC](https://forum.ionicframework.com/t/solved-blank-app-with-ionic-serve-after-git-clone/55842/7 "2016-06-29T11:34:27Z")

</div>

Thanks for contributing 🙂  
Shouldn’t this be found as a known issue somewhere?

---

<div class="post-metadata">

**Author:** ![maxx0r](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/maxx0r/32/91299_2.png) [@maxx0r](https://forum.ionicframework.com/u/maxx0r)\
**Post date:** [June 29, 2016, 11:45am UTC](https://forum.ionicframework.com/t/solved-blank-app-with-ionic-serve-after-git-clone/55842/8 "2016-06-29T11:45:33Z")

</div>

From my experience, the Ionic crew is always trying hard to keep everything up to date. Which is quite hard in these times (of rapid developments). It’ll be okay

---

<div class="post-metadata">

**Author:** ![Dimitrios](https://avatars.discourse-cdn.com/v4/letter/d/b3f665/32.png) [@Dimitrios](https://forum.ionicframework.com/u/Dimitrios)\
**Post date:** [June 29, 2016, 11:46am UTC](https://forum.ionicframework.com/t/solved-blank-app-with-ionic-serve-after-git-clone/55842/9 "2016-06-29T11:46:26Z")

</div>

Sure, definitely. Just made me wonder for a while why no cloned gits were working 😄  
Thanks again!

---

<div class="post-metadata">

**Author:** ![maxx0r](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/maxx0r/32/91299_2.png) [@maxx0r](https://forum.ionicframework.com/u/maxx0r)\
**Post date:** [June 29, 2016, 12:02pm UTC](https://forum.ionicframework.com/t/solved-blank-app-with-ionic-serve-after-git-clone/55842/10 "2016-06-29T12:02:00Z")

</div>

It’s about the journey, not the destination 😉
