Code Monkey home page Code Monkey logo

Comments (9)

mhfortuna avatar mhfortuna commented on June 16, 2024 2

hey there, I was also having this issue but I used the solution from this other issue: #473
I think it is the same 🙂
Solution: #473 (comment)

from react-native-gifted-charts.

leineveber avatar leineveber commented on June 16, 2024 1

@mhfortuna it works, great job!

from react-native-gifted-charts.

ygnoh avatar ygnoh commented on June 16, 2024 1

@leineveber Thanks! It works well

from react-native-gifted-charts.

leineveber avatar leineveber commented on June 16, 2024

Same here, nothing helps..

from react-native-gifted-charts.

ygnoh avatar ygnoh commented on June 16, 2024

@leineveber Did you solve it? I can't find any solutions.

from react-native-gifted-charts.

ygnoh avatar ygnoh commented on June 16, 2024

I think it's not a TS configuration error but this library.
@Abhinandan-Kushwaha Could you help?

You can reproduce the issue here:
https://github.com/ygnoh/tsc-tracking-node-modules-demo

from react-native-gifted-charts.

leineveber avatar leineveber commented on June 16, 2024

@ygnoh No, sorry, haven't found any solution yet
but for sure, it comes from the library, it doesn't have the typings for some things, for example:
image

from react-native-gifted-charts.

ygnoh avatar ygnoh commented on June 16, 2024

@mhfortuna It does not work. It looks outdated:

Applying patches...

**ERROR** Failed to apply patch for package gifted-charts-core at path
  
    node_modules/gifted-charts-core

  This error was caused because gifted-charts-core has changed since you
  made the patch file for it. This introduced conflicts with your patch,
  just like a merge conflict in Git when separate incompatible changes are
  made to the same piece of code.

  Maybe this means your patch file is no longer necessary, in which case
  hooray! Just delete it!

  Otherwise, you need to generate a new patch file.

  To generate a new one, just repeat the steps you made to generate the first
  one.

  i.e. manually make the appropriate file changes, then run 

    patch-package gifted-charts-core

  Info:
    Patch file: patches/gifted-charts-core+0.0.21.patch
    Patch was made for version: 0.0.21
    Installed version: 0.1.4

---
patch-package finished with 1 error(s).

This is because I'm using the latest version of ^1.4.10. If I use the fixed version of 1.4.7, it works.

from react-native-gifted-charts.

leineveber avatar leineveber commented on June 16, 2024

@ygnoh as far as I understand, you're trying to use patch from the "instructions", please try to do your own patch using steps from the "alternative instructions"

from react-native-gifted-charts.

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.