My emulator with tns run Android --env.aot
gives me a nice app without errors.
Tns preview or tns preview --env.aot
gives me this:
I think it has something to do with versions or just missing some things but I can't get it right.
Even if I start a new project without any code the same error appears.
There's currently an issue with Nativescript playground. I analysed the endpoint, and can see that's it's not receiving the expected data, hence the failure.
Even the web version of the playground isn't working correctly. Send them a message, or open an issue on their GitHub. The more of us that flag the issue, they'll acknowledge it, and not just put it down to user error.