-
Notifications
You must be signed in to change notification settings - Fork 260
Error while updating property 'd' in shadow node of type RNSVGPath #70
Comments
There's an existing PR (#69) thats very close to being merged in that moves the dependencies in this library from react-native 0.38 to 0.40 and react-native-svg 4.4.1 to 4.5. You'll likely have better luck sticking with these older versions of dependencies (as specified in |
Sorry - I forgot that I couldn't run
this is the java version I am using
I moved over the javascript files from /example/src to my existing project - that was recently a fresh install. If I first Thank you! |
Glad that helped. The fix for the "Multiple dex files" error is to do: (cd example && ./gradlew clean) And then try running "run-android" again Now that I see other people facing this from a fresh pull, I suspect there are some extraneous files committed to the repo. I will look into this and get it cleaned up so others aren't bit by this in the future. Curious what error you ran "sync-rnpc"? I will try to reproduce and see if I can clean that up as well. |
Just published version 0.0.25 which upgrades dependencies for react-native to 0.41.2 and react-native-svg to 4.5.0 |
Thank you! |
Based on your screenshot it looks like you are trying to use a newer version of react-native-svg in your app (5.1.5) which is in conflict with the version react-native-pathjs-charts is expecting (4.5). There's plenty of discussion elsewhere (#58 and #71) about why we aren't using newer versions of react-native-svg yet. I suspect if you downgrade to react-native-svg, the error will go away. |
@marzolfb Thanks for the response, Yeah I checked those discussion, and downgraded to react- native-svg(4.5), I got some package name errors while doing this after resolving those its working file |
could i ask how to downgrade from newer one? |
What does |
I have the same issue But I got:
|
The outer react-native-svg version conflicts with react-native-pathjs-charts. Change your version spec for react-native-svg in your root package.json to constrain to versions no greater than 4.5.x and then get rid of the 5.1.5 version and install the 4.5.0 version at your root. |
@marzolfb thanks it works perfect. |
@marzolfb I have the following setup but I still get this +-- [email protected] Any ideas? Thanks. |
@afilp Its possible rn 0.42x is the problematic piece here (and you mentioned this in the other issue you comments on). Its best to open a new issue and track it separately. |
├── [email protected] I still get the same issue |
Any update on this? I can't get this to work on RN 0.44. |
I have used another library |
@bijeshp Thanks for the heads up, I'll give it a try! |
@markflorisson @bijeshp Not sure if you've moved on completely, but if you are willing to give it another shot, we have just updated to more recent dependencies which hopefully will take care of the issues you've been experiencing. |
I am having the same issue, RN 0.44.0 |
@abood91 I'm unable to reproduce this. Did you run What is your react dependency version - what does this produce when you run it?
This is what I get on a brand new app:
Where does the |
@marzolfb Thanks, and yes i run +-- [email protected] I got the deduped output after i ran the command
|
The problem comes when i try to use date time format in any of the axis data, the data format for example would look like this "2017-05-13 16:05:29" |
Hi guys ! I was struggling with this error too "Error while updating property 'd' in shadow node of type RNSVGPath", making my app crash on Android only. First, here the case where i crash :
But since i need to be able to display empty chart, i had to found a way around. At for this, i just needed to add to my charts Options : axisY { min : true, ...}. The "min" option force the component to display at least the axisX, and this way i didn't got anymore crash on android. My guess is, since the size of the chart is directly linked with the values in the dataset, having no data throw an error on Android because he miss some information (i haven't digged enough in the source code to know how this work, but i guess it's something like that). So by using the min option, you force him to use a default value in case there's no data. |
+-- [email protected] same problem! |
@GabNihill Thanks |
Hi
When trying out the examples I'm getting the following error for them all (only tested on android):
"Error while updating property 'd' in shadow node of type RNSVGPath"
This is my set up:
I've run
react-native link react-native-svg
and it linked successfully.Has anyone else has this?
I've found the same error message here: steveliles/react-native-circular-slider-example#1 but I am able to run this example.
Thank you for your help.
The text was updated successfully, but these errors were encountered: