rainbow-me / react-native-animated-charts

Set of components and helpers for building complex and beautifully animated charts
MIT License
921 stars 110 forks source link

Error when adding ` import {ChartDot, ChartPath, ChartPathProvider} from '@rainbow-me/animated-charts'; ` TypeError: _ReanimatedModule.default.createNode is not a function (it is undefined), js engine: hermes #98

Open JegoLazaro opened 11 months ago

JegoLazaro commented 11 months ago

TypeError: _ReanimatedModule.default.createNode is not a function (it is undefined), js engine: hermes Invariant Violation: "main" has not been registered. This can happen if:

lmartinez63 commented 11 months ago

Same issue here this is my package json { "name": "test", "version": "1.0.0", "main": "node_modules/expo/AppEntry.js", "scripts": { "start": "expo start", "android": "expo start --android", "ios": "expo start --ios", "web": "expo start --web" }, "dependencies": { "@rainbow-me/animated-charts": "^1.0.0-alpha.6", "expo": "^49.0.0", "expo-status-bar": "~1.6.0", "react": "18.2.0", "react-native": "0.72.5", "react-native-reanimated": "~3.3.0" }, "devDependencies": { "@babel/core": "^7.20.0" }, "private": true }

Luyolop1 commented 10 months ago

Same here "_ReanimatedModule.default.createNode is not a function (it is undefined), js engine: hermes "

JegoLazaro commented 10 months ago

Hello, for this one the work around that worked for me is to use react-native-wagmi-charts instead. Cant seem to find a fix with using animated charts.

Luyolop1 commented 10 months ago

Yes Im trying to use other chart and now React native chart kit i don 't know i console.logged my api fetched data and its shows but it cannot be displayed on chart it says its having problems converting it im working on that now thank you for the feedback Are the any tutorial that show how to map Line Chart data

On Sun, 12 Nov 2023 at 10:06, Jose Gabriel Lazaro @.***> wrote:

Hello, for this one the work around that worked for me is to use react-native-wagmi-charts instead. Cant seem to find a fix with using animated charts.

— Reply to this email directly, view it on GitHub https://github.com/rainbow-me/react-native-animated-charts/issues/98#issuecomment-1807050048, or unsubscribe https://github.com/notifications/unsubscribe-auth/A2B2TST5SXUED6UU7IEFCDLYEB7OZAVCNFSM6AAAAAA6A3CVBKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMBXGA2TAMBUHA . You are receiving this because you commented.Message ID: @.***>

mchitaru commented 9 months ago

This error is a showstopper and is a pity, as there are no other good alternatives on react native. Can anyone help fix this and bring this project back to life?

Luyolop1 commented 9 months ago

Please 🙏🥺 projects can't be finished coz of this!

On Thu, 30 Nov 2023, 19:08 Marius, @.***> wrote:

This error is a showstopper and is a pity, as there are no other good alternatives on react native. Can anyone help fixe this and bring this project back to life?

— Reply to this email directly, view it on GitHub https://github.com/rainbow-me/react-native-animated-charts/issues/98#issuecomment-1834184315, or unsubscribe https://github.com/notifications/unsubscribe-auth/A2B2TSVWNI6EY6H6SOIXW33YHC4SJAVCNFSM6AAAAAA6A3CVBKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMZUGE4DIMZRGU . You are receiving this because you commented.Message ID: @.***>

JegoLazaro commented 9 months ago

This error is a showstopper and is a pity, as there are no other good alternatives on react native. Can anyone help fix this and bring this project back to life?

Hello, i did a simple crypto price tracker but i encountered this issue. I removed the imports from this package and uninstalled the whole package. I used react native wagmi charts instead and i finished my project. Wagmi charts has good docs also and works the same in my case. As long as this error is not resolved i would wagmi charts is the way to go as of now. Hope this helps 👍🏻

mchitaru commented 9 months ago

This error is a showstopper and is a pity, as there are no other good alternatives on react native. Can anyone help fix this and bring this project back to life?

Hello, i did a simple crypto price tracker but i encountered this issue. I removed the imports from this package and uninstalled the whole package. I used react native wagmi charts instead and i finished my project. Wagmi charts has good docs also and works the same in my case. As long as this error is not resolved i would wagmi charts is the way to go as of now. Hope this helps 👍🏻

Hi! Thanks for the suggestion, but I already tried wagmi charts and it's not as good and also has some animation problems with transitions. It seems something changed in the React Reanimated libarary and old projects didn't update

Luyolop1 commented 9 months ago

Yeah for real and even now I still haven't found a proper chart that can display out easily like this one, since I saw it on in a video.Trading view is not easy as well as I'm trying to make a mobile app.Please anyone help us out here

On Sun, 10 Dec 2023, 10:29 Marius, @.***> wrote:

This error is a showstopper and is a pity, as there are no other good alternatives on react native. Can anyone help fix this and bring this project back to life?

Hello, i did a simple crypto price tracker but i encountered this issue. I removed the imports from this package and uninstalled the whole package. I used react native wagmi charts instead and i finished my project. Wagmi charts has good docs also and works the same in my case. As long as this error is not resolved i would wagmi charts is the way to go as of now. Hope this helps 👍🏻

Hi! Thanks for the suggestion, but I already tried wagmi charts and it's not as good and also has some animation problems with transitions. It seems something changed in the React Reanimated libarary and old projects didn't update

— Reply to this email directly, view it on GitHub https://github.com/rainbow-me/react-native-animated-charts/issues/98#issuecomment-1848894436, or unsubscribe https://github.com/notifications/unsubscribe-auth/A2B2TSTNMIJYCP3256LO4TTYIVXGBAVCNFSM6AAAAAA6A3CVBKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNBYHA4TINBTGY . You are receiving this because you commented.Message ID: @.***>

aniketfuryrocks commented 8 months ago

+1