-
Notifications
You must be signed in to change notification settings - Fork 824
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
fix #213 #214
fix #213 #214
Conversation
`initWithAttributedString` is undefined in version 48. I used `initWithEncodedAttributedString` instead of `initWithAttributedString`.
dc09cc7
to
c536fb7
Compare
Thanks @KimDal-hyeong. In what file do you change |
Thank you @KimDal-hyeong. |
Found the file locally, made the edit but same error. Sill nothing. Am I doing this right? |
That’s not a bug in Sketch. Sketch is a living code base so we do change it... this is using the internals so obviously, it’s going to change when we update Sketch |
@LincMitch you can use temporarily KimDal-hyeong or my react-sketchapp forks. KimDal-hyeong fix #213 works for me (sketch 48.1).
Our forks https://github.com/KimDal-hyeong/react-sketchapp/tree/KimDal-hyeong-fix-%23213 Or:
|
@thierryc I upgraded to Sketch 48.1. Then downloaded and tried out both forks just like how I would with the main branch. Not sure if thats the correct way as you provided this and I wasn't sure how to interpret: Anyhow, I got the same error:
|
Sorry tarball is for tag ! try :
To remove it:
|
I tried: Which produces: Not sure why its not a package.json file as unfortunately it causes this error: `npm WARN saveError ENOENT: no such file or directory, open '/Users/lincolnmitchel/Documents/ReactSketchApp/Thierry/package.json'
Let me know If this is purely NPM related and nothing to do with react-sketchapp, and I'll post to stack overflow To fix this issue. |
Just warning ! try to use it. Personally I use the forks and link.
Sketch 47 can be an option too. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
working on v48
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Working on Sketch v48
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good!
Thank you Jon. |
Symbols example still gets same err in v1.0.0 in Sketch 48.1:
|
because the examples haven't been updated to 1.0.0. You can send a PR maybe, it's an easy fix :) |
PR #223 |
#213
initWithAttributedString
isundefined
in version 48.So, I used initWithEncodedAttributedString instead of initWithAttributedString.
But,I think this bug may be a problem of sketch48.
This PR is not needed if 'Sketch' fix this bug...