Closed radu2501 closed 3 years ago
Hi @radu2501 please confirm you have updated your Project to latest Angular ~11.0.0, as well as @nativescript/angular ~11.0.0 and using Xcode 12.3 with @nativescript/ios 7.1.0, as well as updated to latest cli (npm i -g nativescript) [7.1.2] as well as updated to latest nativescript-ui-listview
~9.1.0 at a minimum.
Then: ns clean
and run project again.
You can also share your package.json if you have further trouble after trying above.
Hi @NathanWalker, thank you for your reply. Indeed, after updating to the versions suggested by you the problem is resolved. However, after updating I am now experiencing a different issue related to non-Ivy builds. In short, I cannot enable Ivy builds since I am building a library and non-Ivy builds crash due to an error related to the @nativescript/angular package.
I found another issue on the nativescript-angular repository related to my issue and left a comment there: https://github.com/NativeScript/nativescript-angular/issues/2277#issuecomment-763684011
I will close this issue now, since it is resolved. Thank you.
Please, provide the details below:
Tell us about the problem
After upgrading to NativeScript 7, the build fails with errors regarding invalid type references. Please see the attached build log for details.
angular-errors.log
Which platform(s) does your issue occur on?
N/A
Please provide the following version numbers that your issue occurs with:
"tns-android"
and"tns-ios"
properties in thepackage.json
) tns-android: 6.5.3 tns-ios: 6.5.2Please tell us how to recreate the issue in as much detail as possible.
Upgrade a {N} + Angular project that uses at the very least, the nativescript-ui-listview plugin to latest version of NativeScript, then attempt to build the project.