mirego / accent

The first developer-oriented translation tool. True asynchronous flow between translators and your team.
https://www.accent.reviews
BSD 3-Clause "New" or "Revised" License
1.29k stars 97 forks source link

CLI sync not working properly #447

Open npostulart opened 3 months ago

npostulart commented 3 months ago

I'm currently trying out the app locally and run into syncing issues with the CLI.

Running accent sync --add-translations --dry-run works as expected but without --dry-run I get the following error:

Fetch config in accent.json... API Client ✓

Syncing sources → de  ✓

   ↑ messages/de.json messages

    FetchError: request to http://localhost:4000/graphql failed, reason: socket hang up
    Code: ECONNRESET

The logging output doesn't give any hints about what went wrong.

I am also having issues with the machine translation with Deepl not working properly, it just hangs up the edit function of the textarea. Don't know if this is related to the other issue.

I'm running the latest 1.23.3 version on a M1 MacBook Pro with Docker.