Cannot write binary to file

Hello to everyone, I’m trying to write data to file using “Write Binary File” operation, but each time I receive the following error:

ERROR: ENOENT: no such file or directory, open '~/Documents/data/some.json'

P.S. Standalone macOS App is used.

Welcome to the community @ShiiRochi

Thanks, but it did not help. I changed File Name to something like /home/.../data/some_data.json, but still got the same error.

It works just fine for me. Are you sure you have the correct path?

If you do cd ~ && pwd in the command line you are going to find out.

Oh, my bad, I misunderstood how it works, I thought that ~ has to be correctly processed, but instead I should write /Users/<username>/.

1 Like