# Import problem after v4 update

**URL:** <https://forum.ionicframework.com/t/import-problem-after-v4-update/137169>\
**Category:** Ionic Native\
**Created:** [August 2, 2018, 6:22pm UTC](https://forum.ionicframework.com/t/import-problem-after-v4-update/137169 "2018-08-02T18:22:19Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![MrWhite](https://avatars.discourse-cdn.com/v4/letter/m/e19b73/32.png) [@MrWhite](https://forum.ionicframework.com/u/MrWhite)\
**Post date:** [August 2, 2018, 6:22pm UTC](https://forum.ionicframework.com/t/import-problem-after-v4-update/137169/1 "2018-08-02T18:22:19Z")

</div>

Hi, I just started to migrate my ionic 3 application to ionic 4, but during the ionic serve process, I got some incompatibility errors with several packages:

```auto
[ng] ERROR in node_modules/@ionic-native/google-maps/index.d.ts(2,10): error TS2305: Module '"C:/programming/studay/node_modules/rxjs/Observable"' has no exported member 'Observable'.
[ng] node_modules/@ionic-native/in-app-browser/index.d.ts(2,10): error TS2305: Module '"C:/programming/studay/node_modules/rxjs/Observable"' has no exported member 'Observable'.
[ng] node_modules/@ionic-native/onesignal/index.d.ts(2,10): error TS2305: Module '"C:/programming/studay/node_modules/rxjs/Observable"' has no exported member 'Observable'.
[ng] node_modules/ionic2-calendar/calendar.service.d.ts(1,10): error TS2305: Module '"C:/programming/studay/node_modules/rxjs/Observable"' has no exported member 'Observable'.
[ng] node_modules/rxjs/Observable.d.ts(1,15): error TS2307: Cannot find module 'rxjs-compat/Observable'.
[ng] node_modules/rxjs/operators/catchError.d.ts(1,15): error TS2307: Cannot find module 'rxjs-compat/operators/catchError'.
[ng] node_modules/rxjs/operators/map.d.ts(1,15): error TS2307: Cannot find module 'rxjs-compat/operators/map'.

```

I don’t know if I do something wrong or if ionic native have some errors of RxJS operator ?

My package.json

```auto
"@ionic-native/google-maps": "^4.9.1",
    "@ionic-native/in-app-browser": "4.11",
    "@ionic-native/onesignal": "4.11",

```

4.11.0 is the latest version

---

<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:** [August 2, 2018, 6:24pm UTC](https://forum.ionicframework.com/t/import-problem-after-v4-update/137169/2 "2018-08-02T18:24:03Z")

</div>

No released ionic-native version is compatible with Ionic 4. You must use the v5 ionic-native beta.

---

<div class="post-metadata">

**Author:** ![MrWhite](https://avatars.discourse-cdn.com/v4/letter/m/e19b73/32.png) [@MrWhite](https://forum.ionicframework.com/u/MrWhite)\
**Post date:** [August 2, 2018, 6:31pm UTC](https://forum.ionicframework.com/t/import-problem-after-v4-update/137169/3 "2018-08-02T18:31:34Z")

</div>

Thanks a lot ! You genius

---

<div class="post-metadata">

**Author:** ![proiertti](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/proiertti/32/103067_2.png) [@proiertti](https://forum.ionicframework.com/u/proiertti)\
**Post date:** [December 26, 2018, 10:57am UTC](https://forum.ionicframework.com/t/import-problem-after-v4-update/137169/4 "2018-12-26T10:57:53Z")

</div>

What is exactly the right version in package.json for onesignal? in Ionic 4?

“@ionic-native/onesignal”: “x.x.x” ???

---

<div class="post-metadata">

**Author:** ![mhartington](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/mhartington/32/137757_2.png) [@mhartington](https://forum.ionicframework.com/u/mhartington)\
**Post date:** [July 19, 2021, 9:26pm UTC](https://forum.ionicframework.com/t/import-problem-after-v4-update/137169/5 "2021-07-19T21:26:18Z")

</div>

Closed on July 19, 2021, 9:26pm UTC


