-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TypeError: undefined is not an object (evaluating 'start[0].x') #10
Comments
@itsusmanmirza are you running example in this repo ? |
No not in this repo I'm importing this in my own project, in Home Screen.tsx, and yes I'm using TypeScript as well. |
are you already having react-native-svg version in your project before integrating this library ? @itsusmanmirza |
@itsusmanmirza got it.. In you project you have to use the same version as this library is using..Please try and let me know if you face any issue |
Alright I'll update you soon. |
have tried, no luck, not working. |
@itsusmanmirza can you please share the steps you followed . |
@itsusmanmirza please share your package.json |
Due to inactivity closing this for now. |
There is problem in below code (which is given in readme). If we run below code it is shoving TypeError: undefined is not an object (evaluating 'start[0].x'). kindly run example it is working fine, @codesinghanoop , kindly remove or update below code in readme file. Thank You @codesinghanoop nice work. import AwesomeHierarchyGraph from 'react-native-d3-tree-graph' var root = { var siblings = [{ export default class example extends Component { const styles = StyleSheet.create({ |
I have the same issue |
@codesinghanoop facing this issue . Do you have any idea how to solve this? |
@michaeljamieson10 & @bishalvaii , Run example , Please pick code from readme.md, i will update it later. Let me know if it doesn't works for you |
Hi! I'm working on this example and getting this error below which is coming from siblingUtil.js
TypeError: undefined is not an object (evaluating 'start[0].x')
Please help me out.
The text was updated successfully, but these errors were encountered: