Skip to content
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

Cannot read property 'right' of undefined #37

Open
inturbidus opened this issue Jun 28, 2018 · 4 comments
Open

Cannot read property 'right' of undefined #37

inturbidus opened this issue Jun 28, 2018 · 4 comments

Comments

@inturbidus
Copy link

$> sketch-to-react-native TEMP.svg
gathering elements...
filtering elements...
TypeError: Cannot read property 'right' of undefined
at determineAlignJustify (/Users/matthudson/Development/sketch-to-react-native/build/attributes.js:133:86)
at /Users/matthudson/Development/sketch-to-react-native/build/flex.js:286:26
at Array.forEach ()
at flattenBoxComps (/Users/matthudson/Development/sketch-to-react-native/build/flex.js:281:13)
at flattenBoxComps (/Users/matthudson/Development/sketch-to-react-native/build/flex.js:276:9)
at flattenBoxComponents (/Users/matthudson/Development/sketch-to-react-native/build/flex.js:298:3)
at _callee$ (/Users/matthudson/Development/sketch-to-react-native/build/index.js:147:36)
at tryCatch (/Users/matthudson/Development/sketch-to-react-native/node_modules/regenerator-runtime/runtime.js:65:40)
at Generator.invoke [as _invoke] (/Users/matthudson/Development/sketch-to-react-native/node_modules/regenerator-runtime/runtime.js:299:22)
at Generator.prototype.(anonymous function) [as next] (/Users/matthudson/Development/sketch-to-react-native/node_modules/regenerator-runtime/runtime.js:117:21)

@inturbidus
Copy link
Author

Where can I send the SVG?

@chrisachard
Copy link
Collaborator

@inturbidus You can email it to me at [email protected] and I can check it out. This is a known issue though that we're working on, so a future version should fix the issue

@muazhari
Copy link

@muazhari
Copy link

I have a temporary tricks recommendation until next fixes are come up, how about you provide all SVG template that could be converted? using your example works on me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants