You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 19, 2021. It is now read-only.
I've tested this via the Angular demo provided in this project, by bumping the versions to the latest version of NativeScript & NativeScript-Angular.
The compilation succeeds, all of the tests pass on both iOS and Android.
I've also attempted to recreate this in an external project using npm instead of the demo sourcing methods, these tests also failed to reproduce the issue you're seeing here.
I would suspect that you're using an old webpack config, or not depending on tns-core-modules or @nativescript/core.
Can you please provide a sample project that reproduces the issue you're seeing?
Ah so the image shows the error pointing to native iOS/android types. Which are being used in this plugin/module, your project shouldn't be analyzing node_modules at all IMO, unless you want TS to analyze all of the node_modules for types, which is slower to do and you shouldn't really have a need to do this.
Just add skipLibCheck: true to your tsconfig of your project. I made a PR for this on the NS templates a couple months ago because they were still shipping this flag false which resulted in users encountering this issue a while back.
I'm using the latest version of NS
The text was updated successfully, but these errors were encountered: