# Ionic: import { SpinnerDialog } from 'ionic-native';

**URL:** <https://forum.ionicframework.com/t/ionic-import-spinnerdialog-from-ionic-native/48205>\
**Category:** ionic-v3\
**Created:** [April 3, 2016, 1:51am UTC](https://forum.ionicframework.com/t/ionic-import-spinnerdialog-from-ionic-native/48205 "2016-04-03T01:51:41Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kizmar](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/kizmar/32/99098_2.png) [@Kizmar](https://forum.ionicframework.com/u/Kizmar)\
**Post date:** [April 3, 2016, 1:51am UTC](https://forum.ionicframework.com/t/ionic-import-spinnerdialog-from-ionic-native/48205/1 "2016-04-03T01:51:41Z")

</div>

I’m trying to get the native “SpinnerDialog” component installed and usable. I’ve tried the instructions [here](http://ionicframework.com/docs/v2/native/Spinner%20Dialog/), and also [this other guy’s plugin](https://github.com/filfat-Studios-AB/cordova-plugin-spinnerdialog).

Neither seem to work. When I try to add the following:  
`import { SpinnerDialog } from 'ionic-native';`

I get this:  
`[ts] Module '[path_to_app]/node_modules/ionic-native/dist/index' has no exported member 'SpinnerDialog'.`

I’ve also tried manually editing config.xml (added `<plugin name="cordova-plugin-spinner-dialog" spec="~1.3.1"/>`), and … some other spot I can’t recall now… but I haven’t been able to fix the issue.

Any suggestions? Is this supposed to work? I have the most current version of all npm packages, and the app works fine otherwise.

---

<div class="post-metadata">

**Author:** ![lricoy](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/lricoy/32/99566_2.png) [@lricoy](https://forum.ionicframework.com/u/lricoy)\
**Post date:** [April 14, 2016, 9:49pm UTC](https://forum.ionicframework.com/t/ionic-import-spinnerdialog-from-ionic-native/48205/2 "2016-04-14T21:49:48Z")

</div>

I got the same error here. In my computer using

```json
// tsconfig.json
"moduleResolution": "node",

```

it works. But it doesn’t on my peers computer.

---

<div class="post-metadata">

**Author:** ![guizmoNC1](https://avatars.discourse-cdn.com/v4/letter/g/a3d4f5/32.png) [@guizmoNC1](https://forum.ionicframework.com/u/guizmoNC1)\
**Post date:** [June 19, 2017, 5:12am UTC](https://forum.ionicframework.com/t/ionic-import-spinnerdialog-from-ionic-native/48205/3 "2017-06-19T05:12:35Z")

</div>

Here is the solution

> <https://github.com/ionic-team/ionic-native/pull/1675/commits/dc661f2f54ef061724cfdcba3bfb394eea73ea8e>
