# QRScanner is not recognized by ionic-native/code

**URL:** <https://forum.ionicframework.com/t/qrscanner-is-not-recognized-by-ionic-native-code/222888>\
**Category:** Ionic Native\
**Created:** [May 2, 2022, 2:19pm UTC](https://forum.ionicframework.com/t/qrscanner-is-not-recognized-by-ionic-native-code/222888 "2022-05-02T14:19:21Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![arthurbusqueiro](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/arthurbusqueiro/32/135070_2.png) [@arthurbusqueiro](https://forum.ionicframework.com/u/arthurbusqueiro)\
**Post date:** [May 2, 2022, 2:19pm UTC](https://forum.ionicframework.com/t/qrscanner-is-not-recognized-by-ionic-native-code/222888/1 "2022-05-02T14:19:21Z")

</div>

I’m trying to use the QRCodeScanner from Ionic. But when I try to compile it gives me these errors:

```auto
ERROR in ./node_modules/@ionic-native/qr-scanner/index.js 286:8-15
"export 'Cordova' was not found in '@ionic-native/core'
ERROR in ./node_modules/@ionic-native/qr-scanner/index.js 294:8-15
"export 'Cordova' was not found in '@ionic-native/core'
ERROR in ./node_modules/@ionic-native/qr-scanner/index.js 304:8-15
"export 'Cordova' was not found in '@ionic-native/core'
ERROR in ./node_modules/@ionic-native/qr-scanner/index.js 310:8-15
"export 'Cordova' was not found in '@ionic-native/core'
ERROR in ./node_modules/@ionic-native/qr-scanner/index.js 316:8-15
"export 'Cordova' was not found in '@ionic-native/core'
ERROR in ./node_modules/@ionic-native/qr-scanner/index.js 324:8-15
"export 'Cordova' was not found in '@ionic-native/core'
ERROR in ./node_modules/@ionic-native/qr-scanner/index.js 330:8-15
"export 'Cordova' was not found in '@ionic-native/core'
ERROR in ./node_modules/@ionic-native/qr-scanner/index.js 338:8-15
"export 'Cordova' was not found in '@ionic-native/core'
ERROR in ./node_modules/@ionic-native/qr-scanner/index.js 346:8-15
"export 'Cordova' was not found in '@ionic-native/core'
ERROR in ./node_modules/@ionic-native/qr-scanner/index.js 354:8-15
"export 'Cordova' was not found in '@ionic-native/core'
ERROR in ./node_modules/@ionic-native/qr-scanner/index.js 362:8-15
"export 'Cordova' was not found in '@ionic-native/core'
ERROR in ./node_modules/@ionic-native/qr-scanner/index.js 368:8-15
"export 'Cordova' was not found in '@ionic-native/core'
ERROR in ./node_modules/@ionic-native/qr-scanner/index.js 374:8-15
"export 'Cordova' was not found in '@ionic-native/core'

```

My app.module:

```auto
...
import { QRScanner } from '@ionic-native/qr-scanner';
...
providers:[
    MovementExecutionService,
    VacancyService,
    MovementTableUtil,
    QRScanner
  ],

```

package.json:

```auto
"@ionic-native/qr-scanner": "^4.20.0",

```

What am I missing?

---

<div class="post-metadata">

**Author:** ![zyangmek94](https://avatars.discourse-cdn.com/v4/letter/z/439d5e/32.png) [@zyangmek94](https://forum.ionicframework.com/u/zyangmek94)\
**Post date:** [June 2, 2022, 9:23am UTC](https://forum.ionicframework.com/t/qrscanner-is-not-recognized-by-ionic-native-code/222888/2 "2022-06-02T09:23:04Z")

</div>

Hi , may I know that did you get the issue resolved or the issue is still happening?
