Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Error with latest version (1.2.1) #19

Open
hmc-cs-bbaker opened this issue Mar 2, 2018 · 5 comments
Open

Error with latest version (1.2.1) #19

hmc-cs-bbaker opened this issue Mar 2, 2018 · 5 comments

Comments

@hmc-cs-bbaker
Copy link

ERROR in Error: Metadata version mismatch in /node_modules/time-ago-pipe/time-ago-pipe.d.ts, found version 4, expected 3,

@geovlazar
Copy link

We got the same issue with latest version. Any idea to fix this

@AndrewPoyntz
Copy link
Owner

is this an issue with 1.3.2? 1.2.1 isn't the latest version...

@jonas-l-b
Copy link

I also experience this issue. It is an issue in version 1.3.2. Would appreciate if anyone knew a fix, I really like this pipe but am unable to compile my project because of this.

@AndrewPoyntz
Copy link
Owner

AndrewPoyntz commented Mar 13, 2018

I can't reproduce with Angular 5, but I can with 4.3.0, so I'm assuming you're running Angular 4? looks like there's an issue supporting Angular 4 in ng-packagr v2.0.0: ng-packagr/ng-packagr#344
Seems like the only fix is to upgrade your project to 5 (if you can) - probably not the worst idea in the world seeing as 6 is due imminently :)
The only other alternative , is to downgrade ng-packagr in this project... (or help fix ng-packagr 👍 )

@jonas-l-b
Copy link

jonas-l-b commented Mar 15, 2018

I upgraded the project to Angular 5.2.8 and I'm still getting the same error.

At least I think I upgraded properly (took me a couple of attempts) but this is my new package.json:

"dependencies": {
"@ angular/animations": "5.2.8",
"@ angular/common": "5.2.8",
"@ angular/compiler": "5.2.8",
"@ angular/compiler-cli": "5.2.8",
"@ angular/core": "5.2.8",
"@ angular/forms": "5.2.8",
"@ angular/http": "5.2.8",
"@ angular/platform-browser": "5.2.8",
"@ angular/platform-browser-dynamic": "5.2.8",
"@ ionic-native/android-fingerprint-auth": "^4.5.3",
"@ ionic-native/android-permissions": "4.5.3",
"@ ionic-native/app-availability": "4.5.3",
"@ ionic-native/camera": "4.5.3",
"@ ionic-native/core": "^4.5.3",
"@ ionic-native/google-analytics": "4.5.3",
"@ ionic-native/google-maps": "^4.4.2",
"@ ionic-native/header-color": "4.5.3",
"@ ionic-native/in-app-browser": "^4.5.3",
"@ ionic-native/index-app-content": "^4.5.3",
"@ ionic-native/location-accuracy": "^4.5.3",
"@ ionic-native/network": "4.5.3",
"@ ionic-native/photo-viewer": "^4.5.3",
"@ ionic-native/push": "4.5.3",
"@ ionic-native/qr-scanner": "4.5.3",
"@ ionic-native/shake": "^4.5.3",
"@ ionic-native/splash-screen": "4.5.3",
"@ ionic-native/status-bar": "4.5.3",
"@ ionic-native/taptic-engine": "^4.5.3",
"@ ionic-native/toast": "^4.5.3",
"@ ionic-native/touch-id": "^4.5.3",
"@ ionic-native/vibration": "^4.5.3",
"@ ionic/storage": "2.1.3",
"@ types/pouchdb": "^6.3.1",
"com-sarriaroman-photoviewer": "^1.1.16",
"cordova-android": "7.1.0",
"cordova-android-play-services-gradle-release": "^1.1.4",
"cordova-plugin-android-fingerprint-auth": "^1.4.3",
"cordova-plugin-android-permissions": "^1.0.0",
"cordova-plugin-appavailability": "^0.4.2",
"cordova-plugin-camera": "^4.0.2",
"cordova-plugin-compat": "^1.2.0",
"cordova-plugin-device": "^2.0.1",
"cordova-plugin-device-motion": "^2.0.0",
"cordova-plugin-google-analytics": "^1.8.3",
"cordova-plugin-googlemaps": "^2.1.1",
"cordova-plugin-headercolor": "^1.0.0",
"cordova-plugin-inappbrowser": "^2.0.2",
"cordova-plugin-indexappcontent": "^0.1.0",
"cordova-plugin-ionic-webview": "^1.1.16",
"cordova-plugin-network-information": "^2.0.1",
"cordova-plugin-qrscanner": "git+https://github.com/jonas-l-b/cordova-plugin-qrscanner.git",
"cordova-plugin-request-location-accuracy": "^2.2.2",
"cordova-plugin-shake": "^0.6.0",
"cordova-plugin-splashscreen": "^5.0.2",
"cordova-plugin-statusbar": "^2.3.0",
"cordova-plugin-taptic-engine": "^2.1.0",
"cordova-plugin-touch-id": "^3.3.1",
"cordova-plugin-vibration": "^3.0.1",
"cordova-plugin-whitelist": "^1.3.3",
"cordova-plugin-x-toast": "^2.6.0",
"cordova-sqlite-storage": "^2.1.2",
"ionic-angular": "3.9.2",
"ionic-plugin-keyboard": "^2.2.1",
"ionicons": "3.0.0",
"ng2-img-cropper": "^0.9.0",
"phonegap-plugin-push": "^2.1.0",
"pouchdb": "^6.4.3",
"pouchdb-adapter-cordova-sqlite": "^2.0.2",
"pouchdb-find": "^6.3.4",
"rxjs": "^5.5.7",
"sw-toolbox": "3.6.0",
"time-ago-pipe": "^1.3.2",
"ws": "5.0.0",
"zone.js": "0.8.20"
}

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants