You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
🟡 The specified path /Users/redacted/src/redacted/config/locales already exists.
Do you want to overwrite data? BE CAREFUL, ALL THE CONTENTS OF THE DESTINATION FOLDER WILL BE DESTROYED. [y/N] y
⚪ [HTTP] Requesting: POST https://redacted_personal_url/v2/projects/2/export
⚪ [HTTP] POST https://redacted_personal_url/v2/projects/2/export -> 302 Found
🐭✅ Fetching strings from Tolgee...
🐭🔴 Extracting strings...
🔴 An unexpected error occurred while running the command.
🔴 Please report this to our issue tracker: https://github.com/tolgee/tolgee-cli/issues
Error: end of central directory record signature not found
at /opt/homebrew/lib/node_modules/@tolgee/cli/node_modules/yauzl/index.js:187:14
at Immediate. (/opt/homebrew/lib/node_modules/@tolgee/cli/node_modules/yauzl/index.js:624:38)
at process.processImmediate (node:internal/timers:478:21)
The text was updated successfully, but these errors were encountered:
This 302 redirect is probably what's causing the issue. The CLI doesn't expect redirects which means it's trying to decompress the empty response it got with the redirect.
Is the redirect caused by your configuration (reverse proxy, ...) or is it from Tolgee itself?
Hosting Tolgee on https://redacted_personal_url
Project id: 2
installed via: npm i --global @tolgee/cli
tolgee --api-url https://redacted_personal_url --project-id 2 --api-key tgpak_redacted_key pull config/locales/
gives
🟡 The specified path /Users/redacted/src/redacted/config/locales already exists.
Do you want to overwrite data? BE CAREFUL, ALL THE CONTENTS OF THE DESTINATION FOLDER WILL BE DESTROYED. [y/N] y
⚪ [HTTP] Requesting: POST https://redacted_personal_url/v2/projects/2/export
⚪ [HTTP] POST https://redacted_personal_url/v2/projects/2/export -> 302 Found
🐭✅ Fetching strings from Tolgee...
🐭🔴 Extracting strings...
🔴 An unexpected error occurred while running the command.
🔴 Please report this to our issue tracker: https://github.com/tolgee/tolgee-cli/issues
Error: end of central directory record signature not found
at /opt/homebrew/lib/node_modules/@tolgee/cli/node_modules/yauzl/index.js:187:14
at Immediate. (/opt/homebrew/lib/node_modules/@tolgee/cli/node_modules/yauzl/index.js:624:38)
at process.processImmediate (node:internal/timers:478:21)
The text was updated successfully, but these errors were encountered: