nickcoury/nativescript-maps-app

TypeScript compiler failed with exit code 1

Closed this issue · 2 comments

I've followed the instructions explained and have the newest versions of TS and NS, but I'be been running in to this error for hours.

Whats the cause of it?

image

image

Those are Typescript errors. I'm unable to reproduce, even with Typescript 2.1.4 so I'm not sure what's going on. Your global Typescript settings may be different or more strict than mine.

You can try changing "noEmitOnError": true to "noEmitOnError": false in tsconfig.json, which will ignore the Typescript errors since it looks like those are just missing or improper definitions in the node libraries.

@nickcoury Thank you very mutch! your answer has solved my solution! Thanks again and a happy new year!