# Sometimes i get "webpackJsonp is not defined"

**URL:** <https://forum.ionicframework.com/t/sometimes-i-get-webpackjsonp-is-not-defined/203408>\
**Category:** Ionic Framework\
**Created:** [January 23, 2021, 7:35pm UTC](https://forum.ionicframework.com/t/sometimes-i-get-webpackjsonp-is-not-defined/203408 "2021-01-23T19:35:15Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![william7](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/william7/32/107843_2.png) [@william7](https://forum.ionicframework.com/u/william7)\
**Post date:** [January 23, 2021, 7:35pm UTC](https://forum.ionicframework.com/t/sometimes-i-get-webpackjsonp-is-not-defined/203408/1 "2021-01-23T19:35:15Z")

</div>

It’s my first project with Ionic 5. My Problem. I get sometimes this Error:

```auto
Sometimes i get "webpackJsonp is not defined"

```

And i’m not sure why. I just programmed some jQuery-Stuff, it worked, but now i get this strange error. Somebody know a solution?

ionic --version: 5.4.16

---

<div class="post-metadata">

**Author:** ![william7](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/william7/32/107843_2.png) [@william7](https://forum.ionicframework.com/u/william7)\
**Post date:** [January 23, 2021, 7:44pm UTC](https://forum.ionicframework.com/t/sometimes-i-get-webpackjsonp-is-not-defined/203408/2 "2021-01-23T19:44:12Z")

</div>

ionic info:

```auto
Ionic:

   Ionic CLI : 5.4.16 (/usr/local/lib/node_modules/ionic)
   Ionic Framework : ionic-angular 3.9.9
   @ionic/app-scripts : 3.2.4

Cordova:

   Cordova CLI : 10.0.0
   Cordova Platforms : android 9.0.0
   Cordova Plugins : cordova-plugin-ionic-keyboard 2.2.0, cordova-plugin-ionic-webview 4.2.1, (and 4 other plugins)

Utility:

   cordova-res : not installed
   native-run : 1.3.0

System:

   Android SDK Tools : 26.1.1 (/home/MyName/apps/Android-SDK)
   NodeJS : v10.19.0 (/usr/bin/node)
   npm : 6.14.4
   OS : Linux 5.8

```

---

<div class="post-metadata">

**Author:** ![rapropos](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/rapropos/32/100227_2.png) [@rapropos](https://forum.ionicframework.com/u/rapropos)\
**Post date:** [January 23, 2021, 10:43pm UTC](https://forum.ionicframework.com/t/sometimes-i-get-webpackjsonp-is-not-defined/203408/3 "2021-01-23T22:43:52Z")

</div>

> [@william7](#):
>
> It’s my first project with Ionic 5

Not really. Remember, the CLI and framework have totally separate version tracks. The version of the CLI that spawned a particular project isn’t particularly meaningful. What matters is this:

> ionic-angular 3.9.9

You don’t want to be creating new projects with `ionic-angular`. Start over with `--type=angular` instead, and you should see something more like:

> @ionic/angular 5.5.2

I would also recommend bumping your node.js up to the latest LTS. Install [nvm](https://github.com/nvm-sh/nvm) to manage your node ecosystem without needing any superuser privileges.

Finally, do everything in your power to stick with Angular, instead of mashing up frameworks by adding things like jQuery. It’s not _im_possible, but is really just asking for trouble that you don’t need, especially when starting out.

Good luck.
