# Https://cdn.babylonjs.com/gui/babylon.gui.min.js got updated and broke my app

**URL:** <https://forum.babylonjs.com/t/https-cdn-babylonjs-com-gui-babylon-gui-min-js-got-updated-and-broke-my-app/28946>\
**Category:** Bugs\
**Tags:** gui\
**Created:** [April 1, 2022, 3:05am UTC](https://forum.babylonjs.com/t/https-cdn-babylonjs-com-gui-babylon-gui-min-js-got-updated-and-broke-my-app/28946 "2022-04-01T03:05:09Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Diego](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/diego/32/16629_2.png) [@Diego](https://forum.babylonjs.com/u/Diego)\
**Post date:** [April 1, 2022, 3:05am UTC](https://forum.babylonjs.com/t/https-cdn-babylonjs-com-gui-babylon-gui-min-js-got-updated-and-broke-my-app/28946/1 "2022-04-01T03:05:10Z")

</div>

Where I can find previous versions of [https://cdn.babylonjs.com/gui/babylon.gui.min.js](https://cdn.babylonjs.com/gui/babylon.gui.min.js)?  
I just want to find the version I was using before.

The error is the following: I did absolutely nothing to the app, it was working some days ago.  
Thank you.

> Uncaught TypeError: (0 , s.RegisterClass) is not a function  
> at control.ts:2519  
> at index.ts:4  
> at index.ts:4  
> at universalModuleDefinition:9  
> at universalModuleDefinition:1

---

<div class="post-metadata">

**Author:** ![RaananW](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/raananw/32/28955_2.png) [@RaananW](https://forum.babylonjs.com/u/RaananW)\
**Post date:** [April 1, 2022, 5:13am UTC](https://forum.babylonjs.com/t/https-cdn-babylonjs-com-gui-babylon-gui-min-js-got-updated-and-broke-my-app/28946/2 "2022-04-01T05:13:25Z")

</div>

Is it possible that you are using a different version of the engine? Can you share your app URL?

This usually happens when there is a mismatch between the engine version and the module. If you load the engine from the same cdn it should work just fine, but would be great to see a live example of it not working.

---

<div class="post-metadata">

**Author:** ![Diego](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/diego/32/16629_2.png) [@Diego](https://forum.babylonjs.com/u/Diego)\
**Post date:** [April 1, 2022, 5:36pm UTC](https://forum.babylonjs.com/t/https-cdn-babylonjs-com-gui-babylon-gui-min-js-got-updated-and-broke-my-app/28946/3 "2022-04-01T17:36:35Z")

</div>

My app URL: [Matching Game Cr. by Diego Orellana](https://diego-orellana.itch.io/matching-game-cr)  
maybe because I fixed some import versions? and not others? I fixed the version because I was avoiding a bug from the newest versions at that time (out of focus bug, but that is another topic). Thank you for your replies.  
These are my imports:

```auto
        <script src="https://unpkg.com/babylonjs@5.0.0-alpha.0/babylon.js"></script>
        <script src="https://cdn.jsdelivr.net/npm/babylonjs-loaders@4.1.0/babylonjs.loaders.min.js"></script> 
        <script src="https://cdn.babylonjs.com/gui/babylon.gui.min.js"></script>

        <script src="https://code.jquery.com/pep/0.4.3/pep.js"></script>
        <script src="https://cdn.babylonjs.com/ammo.js "></script>
        <script src="https://cdn.babylonjs.com/recast.js"></script>
        <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script>

```

---

<div class="post-metadata">

**Author:** ![RaananW](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/raananw/32/28955_2.png) [@RaananW](https://forum.babylonjs.com/u/RaananW)\
**Post date:** [April 1, 2022, 5:38pm UTC](https://forum.babylonjs.com/t/https-cdn-babylonjs-com-gui-babylon-gui-min-js-got-updated-and-broke-my-app/28946/4 "2022-04-01T17:38:45Z")

</div>

I am not sure why you are loading 3 babylon dependencies from 3 different CDNs, but that issue is the mismatch between the babylon version and the other dependencies.

Load them all from [cdn.babylonjs.com](http://cdn.babylonjs.com) and it will work.

---

<div class="post-metadata">

**Author:** ![Michael\_Prosser](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/michael_prosser/32/6062_2.png) [@Michael\_Prosser](https://forum.babylonjs.com/u/Michael_Prosser)\
**Post date:** [April 2, 2022, 4:17am UTC](https://forum.babylonjs.com/t/https-cdn-babylonjs-com-gui-babylon-gui-min-js-got-updated-and-broke-my-app/28946/5 "2022-04-02T04:17:51Z")

</div>

CDN is down RaananW

[https://cdn.babylonjs.com/](https://cdn.babylonjs.com/)

---

<div class="post-metadata">

**Author:** ![Blake](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/blake/32/21509_2.png) [@Blake](https://forum.babylonjs.com/u/Blake)\
**Post date:** [April 2, 2022, 4:49am UTC](https://forum.babylonjs.com/t/https-cdn-babylonjs-com-gui-babylon-gui-min-js-got-updated-and-broke-my-app/28946/6 "2022-04-02T04:49:30Z")

</div>

I think you just need to specify which file you want and then it works. 🙂  
[https://cdn.babylonjs.com/babylon.js](https://cdn.babylonjs.com/babylon.js)

---

<div class="post-metadata">

**Author:** ![sebavan](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/sebavan/32/57_2.png) [@sebavan](https://forum.babylonjs.com/u/sebavan)\
**Post date:** [April 4, 2022, 3:12pm UTC](https://forum.babylonjs.com/t/https-cdn-babylonjs-com-gui-babylon-gui-min-js-got-updated-and-broke-my-app/28946/7 "2022-04-04T15:12:46Z")

</div>

You scared me sooooo much 🙂
