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

appendFileSync is not working #10

Closed
emalgholzad opened this issue Jun 27, 2018 · 1 comment
Closed

appendFileSync is not working #10

emalgholzad opened this issue Jun 27, 2018 · 1 comment
Labels

Comments

@emalgholzad
Copy link

emalgholzad commented Jun 27, 2018

Hi,

I am trying to write and append a string to a file:
fs.appendFileSync('logs.txt', 'Write this');

But I get the following error in Sketch DevTools:

TypeError: data.dataUsingEncoding is not a function. (In 'data.dataUsingEncoding(NSUTF8StringEncoding)', 'data.dataUsingEncoding' is undefined)

@mathieudutour
Copy link
Member

fixed in 0.1.3

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

No branches or pull requests

2 participants