# Preview crashes after a few JS errors

**URL:** <https://forums.fusetools.com/t/preview-crashes-after-a-few-js-errors/5750>\
**Category:** Bug Reports\
**Created:** [August 10, 2016, 3:48am UTC](https://forums.fusetools.com/t/preview-crashes-after-a-few-js-errors/5750 "2016-08-10T03:48:15Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![justmepratik](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/justmepratik/32/363_2.png) [@justmepratik](https://forums.fusetools.com/u/justmepratik)\
**Post date:** [August 10, 2016, 3:48am UTC](https://forums.fusetools.com/t/preview-crashes-after-a-few-js-errors/5750/1 "2016-08-10T03:48:15Z")

</div>

After _unreferenced js variable_ errors, the preview shows a typical error screen and on restart it works as usual. This is totally as expected. But after this happen a few times(4 or 5 times), the error in the image has been occuring lately. Also quite often this error is followed by OutOfMemory exception too. And the only solution is to rebuild the app all over again.

 ![file](https://s3.us-east-2.amazonaws.com/fuse-legacy-forum-assets/7pC0Khx3ZaaX-legacy-files-aAUH6OquCgvZbRtV-z8GmyLVhXyaT6f7VfTClNjV4.png)

**FuseVersion: 0.23.0**

**OS: Windows 10**

---

<div class="post-metadata">

**Author:** ![Anders\_Bondehagen](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/anders_bondehagen/32/98_2.png) [@Anders\_Bondehagen](https://forums.fusetools.com/u/Anders_Bondehagen)\
**Post date:** [August 15, 2016, 3:22pm UTC](https://forums.fusetools.com/t/preview-crashes-after-a-few-js-errors/5750/2 "2016-08-15T15:22:05Z")

</div>

Do you have a small reproducable test case?

---

<div class="post-metadata">

**Author:** ![justmepratik](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/justmepratik/32/363_2.png) [@justmepratik](https://forums.fusetools.com/u/justmepratik)\
**Post date:** [August 15, 2016, 4:26pm UTC](https://forums.fusetools.com/t/preview-crashes-after-a-few-js-errors/5750/3 "2016-08-15T16:26:11Z")

</div>

It happens with any and every project for me. Only occasionally though. In no particular pattern I’d say. With the latest version 0.24, the frequency of occurence seems to be reduced. Have just happened 3-4 times in past 2 days.

---

<div class="post-metadata">

**Author:** ![Martin\_Heti](https://avatars.discourse-cdn.com/v4/letter/m/ed655f/32.png) [@Martin\_Heti](https://forums.fusetools.com/u/Martin_Heti)\
**Post date:** [August 15, 2016, 9:15pm UTC](https://forums.fusetools.com/t/preview-crashes-after-a-few-js-errors/5750/4 "2016-08-15T21:15:46Z")

</div>

This is the happening to me too and the same way.

---

<div class="post-metadata">

**Author:** ![Jeremy](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/jeremy/32/237_2.png) [@Jeremy](https://forums.fusetools.com/u/Jeremy)\
**Post date:** [August 16, 2016, 2:27am UTC](https://forums.fusetools.com/t/preview-crashes-after-a-few-js-errors/5750/5 "2016-08-16T02:27:59Z")

</div>

I think there is something wrong with the dependency zips that are downloaded when you first build a project (if they are out of date).

---

<div class="post-metadata">

**Author:** ![Jake\_Taylor](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/jake_taylor/32/512_2.png) [@Jake\_Taylor](https://forums.fusetools.com/u/Jake_Taylor)\
**Post date:** [August 16, 2016, 2:12pm UTC](https://forums.fusetools.com/t/preview-crashes-after-a-few-js-errors/5750/6 "2016-08-16T14:12:38Z")

</div>

Still sounds a bit strange, especially when it’s so common. I’ve never been able to reproduce this. Which version(s) of Fuse are you guys seeing this with? Are you on Windows or OS X? Any additional info?
