Ionic-native: Metadata version mismatch for module node_modules/@ionic-native/camera/index.d.ts, found version 4, expected 3

Created on 14 Nov 2017  路  4Comments  路  Source: ionic-team/ionic-native

I'm submitting a ... (check one with "x")
[ x] bug report
[ ] feature request
[ ] support request => Please do not submit support requests here, use one of these channels: https://forum.ionicframework.com/ or https://ionicworldwide.herokuapp.com/

Current behavior:
While generating prod build for iOS I am getting the issue, but there is no issue with dev build.

Expected behavior:

Please help me to generate iOS prod build

Steps to reproduce:

Related code:

Other information:

Ionic info: (run ionic info from a terminal/cmd prompt and paste output below):

cli packages: (/usr/local/lib/node_modules)

    @ionic/cli-utils  : 1.15.2
    ionic (Ionic CLI) : 3.15.2

global packages:

    cordova (Cordova CLI) : 7.0.1 

local packages:

    @ionic/app-scripts : 3.0.1
    Cordova Platforms  : android 6.2.3 ios 4.4.0
    Ionic Framework    : ionic-angular 3.7.1

System:

    ios-deploy : 1.9.1 
    ios-sim    : 5.0.13 
    Node       : v6.10.1
    npm        : 3.10.10 
    OS         : macOS High Sierra
    Xcode      : Xcode 9.1 Build version 9B55 


**Package.json:**

"dependencies": {
        "@angular/common": "4.4.3",
        "@angular/compiler": "4.4.3",
        "@angular/compiler-cli": "4.4.3",
        "@angular/core": "4.4.3",
        "@angular/forms": "4.4.3",
        "@angular/http": "4.4.3",
        "@angular/platform-browser": "4.4.3",
        "@angular/platform-browser-dynamic": "4.4.3",
        "@ionic-native/camera": "^4.4.0",
        "@ionic-native/core": "^4.4.0",
        "@ionic-native/facebook": "^4.3.2",
        "@ionic-native/fcm": "^4.3.3",
        "@ionic-native/file": "^4.3.2",
        "@ionic-native/file-path": "^4.3.2",
        "@ionic-native/google-plus": "^4.3.2",
        "@ionic-native/in-app-browser": "^4.3.3",
        "@ionic-native/native-storage": "^4.3.2",
        "@ionic-native/network": "^4.3.2",
        "@ionic-native/splash-screen": "4.3.2",
        "@ionic-native/status-bar": "4.3.2",
        "@ionic-native/toast": "^4.3.2",
        "@ionic-native/transfer": "^3.14.0",
        "@ionic/storage": "2.0.1",
        "cordova-android": "^6.2.3",
        "cordova-ios": "^4.4.0",
        "cordova-plugin-camera": "^2.4.1",
        "cordova-plugin-compat": "^1.2.0",
        "cordova-plugin-device": "^1.1.4",
        "cordova-plugin-facebook4": "^1.9.1",
        "cordova-plugin-fcm": "^2.1.2",
        "cordova-plugin-file": "^4.3.3",
        "cordova-plugin-file-transfer": "^1.6.3",
        "cordova-plugin-filepath": "^1.1.0",
        "cordova-plugin-googleplus": "^5.1.1",
        "cordova-plugin-inappbrowser": "^1.7.1",
        "cordova-plugin-ionic-webview": "^1.1.16",
        "cordova-plugin-nativestorage": "^2.2.2",
        "cordova-plugin-network-information": "^1.3.3",
        "cordova-plugin-splashscreen": "^4.0.3",
        "cordova-plugin-whitelist": "^1.3.1",
        "cordova-plugin-x-toast": "^2.6.0",
        "ionic-angular": "3.7.1",
        "ionic-plugin-keyboard": "^2.2.1",
        "ionicons": "3.0.0",
        "rxjs": "5.4.3",
        "sw-toolbox": "3.6.0",
        "zone.js": "0.8.18"
    },
    "devDependencies": {
        "@ionic/app-scripts": "3.0.1",
        "typescript": "2.3.4"
    }

Please help me to generate iOS prod build

Most helpful comment

Please upgrade your Ionic Native dependencies to 4.4.2

All 4 comments

same issue here

Please upgrade your Ionic Native dependencies to 4.4.2

@ihadeed You saved my day.

@ihadeed
Please specify how to upgrade ionic native dependencies?

Was this page helpful?
0 / 5 - 0 ratings

Related issues

mateo666 picture mateo666  路  3Comments

ihadeed picture ihadeed  路  4Comments

ghost picture ghost  路  3Comments

kyleap picture kyleap  路  4Comments

icchio picture icchio  路  3Comments