react-native-animated-charts icon indicating copy to clipboard operation
react-native-animated-charts copied to clipboard

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

Open JegoLazaro opened this issue 2 years ago • 10 comments

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:

  • Metro (the local dev server) is run from the wrong folder. Check if Metro is running, stop it and restart it in the current project.
  • A module failed to load due to an error and AppRegistry.registerComponent wasn't called., js engine: hermes

JegoLazaro avatar Oct 15 '23 08:10 JegoLazaro

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 }

lmartinez63 avatar Oct 18 '23 21:10 lmartinez63

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

Luyolop1 avatar Nov 12 '23 07:11 Luyolop1

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.

JegoLazaro avatar Nov 12 '23 08:11 JegoLazaro

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: @.***>

Luyolop1 avatar Nov 12 '23 08:11 Luyolop1

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?

mchitaru avatar Nov 30 '23 17:11 mchitaru

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: @.***>

Luyolop1 avatar Dec 02 '23 10:12 Luyolop1

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 👍🏻

JegoLazaro avatar Dec 03 '23 09:12 JegoLazaro

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

mchitaru avatar Dec 10 '23 08:12 mchitaru

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: @.***>

Luyolop1 avatar Dec 11 '23 08:12 Luyolop1

+1

aniketfuryrocks avatar Jan 10 '24 16:01 aniketfuryrocks