nstudio / nativescript-cardview

:diamonds: :clubs: NativeScript widget for Material Design CardView
MIT License
282 stars 51 forks source link

App crashes after update #120

Open rnmhdn opened 4 years ago

rnmhdn commented 4 years ago

I get this error after the latest update: I also had the same problem with radautocompelete which I solved with a downgrade.

TypeError: Could not load view for: nativecardview. TypeError: _nativescript_coreWEBPACK_IMPORTED_MODULE_0.Property is not a constructor TypeError: _nativescript_coreWEBPACK_IMPORTED_MODULE_0.Property is not a constructor

rnmhdn commented 4 years ago

downgrading to version 1.0.0 sovles the issue:

tns plugin add @nstudio/nativescript-cardview@1.0.0
NathanWalker commented 4 years ago

Thanks @aranmohyeddin for posting this - correct that some latest versions are es2017 builds which are intended for the upcoming nativescript 7 release in couple weeks which makes es2017 and higher targeting the new standard. If anyone come across this or anything similar, generally the prior major version is the one that will work with 6.5.x and lower core module versions 👍