Code Monkey home page Code Monkey logo

Comments (4)

bradmartin avatar bradmartin commented on June 12, 2024 1

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.

from nativescript-loading-indicator.

jannomeister avatar jannomeister commented on June 12, 2024 1

thanks @bradmartin I'll try this one later :)

from nativescript-loading-indicator.

jannomeister avatar jannomeister commented on June 12, 2024

possible fix: #39

from nativescript-loading-indicator.

Codex- avatar Codex- commented on June 12, 2024

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?

from nativescript-loading-indicator.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.