0

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: enter image description here

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.

2
  • 1
    Hey there, this issue should be fixed. Could you give it another try? Commented Aug 15, 2020 at 22:35
  • Hi! thank you for your answer. It's fixed but i got myself another error.. *** Terminating app due to uncaught exception 'NativeScript encountered a fatal error: Error: Could not find module '@nativescript/angular'. Not sure what this is about.. Any suggestions maybe? Thanks in advance. Kind regards, R Commented Aug 17, 2020 at 17:20

1 Answer 1

1

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.

Sign up to request clarification or add additional context in comments.

1 Comment

Thank you for answering! I think you're right found a github issue : github.com/NativeScript/nativescript-cli/issues/5356 It looks like it's solved so im gonna try it later today. Kind regards, R

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.