-
Notifications
You must be signed in to change notification settings - Fork 2
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
Error at use the lib #1
Comments
@jefferson-docway Hi jefferson, if possible can you add the design schema json or url, so that I can debug, so thinking your json schema might be little different, so I can update the code to handle the case. Thanks |
Yes, the code is:
|
I also have the same issue. Do we have solution for this already? Thanks |
any news ? |
I also have the same issue in v1.0.0. if (isMatch) {
let path = cb(i, destLayer, []).rotateRight(1) to if (isMatch) {
let ret = cb(i, destLayer, []);
if(!Array.isArray(ret)){
ret = [ret];
}
let path = ret.rotateRight(1) i can convert success |
Hi, I'm trying to use, but it's generating an error
And the error is:
Total Layers Count: 29 Total Types : [ 'group', 'shape', 'text' ] Total Types Count: 3 TypeError: cb(...).rotateRight is not a function at Zeplin2react.checkLayers (/Users/Jeff/Desktop/node_modules/zeplin-to-react-native/src/zep2rn.js:227:49) at Zeplin2react.traceLayer (/Users/Jeff/Desktop/node_modules/zeplin-to-react-native/src/zep2rn.js:207:14) at /Users/Jeff/Desktop/node_modules/zeplin-to-react-native/src/zep2rn.js:98:30 at processTicksAndRejections (internal/process/task_queues.js:85:5)
Can you help me?
The text was updated successfully, but these errors were encountered: