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
When I try poeditor pull command in terminal, I get an error:
ErrorCaptureStackTrace(err);
TypeError [ERR_INVALID_ARG_TYPE]: The "data" argument must be of type string or an instance of Buffer, TypedArray, or DataView. Received an instance of Object
at Object.writeFileSync (node:fs:2159:5)
at /opt/homebrew/lib/node_modules/poeditor/packages/commands/pull.js:106:8
at Array.forEach (<anonymous>)
at writeFiles (/opt/homebrew/lib/node_modules/poeditor/packages/commands/pull.js:94:9)
at getTermFiles (/opt/homebrew/lib/node_modules/poeditor/packages/commands/pull.js:80:3)
at processTicksAndRejections (node:internal/process/task_queues:96:5) {
code: 'ERR_INVALID_ARG_TYPE'
}
Previously I have tried with "fileType": "json" and it worked correctly.
The text was updated successfully, but these errors were encountered:
I think that @TerenYeung hasn't published a new version with the latest fixes. Have you tried to reference the GitHub repository instead of the npm's latest version?
@monikaint I'm sorry firstly, It's my fault as the lib is designed for apple_strings, android_strings and json in the begining. However, I describe not clearly in README and the usage of attention. Now, the cli only support apple_strings, android_strings and json to use apple_strings, android_strings, js or json as configuration to export .xml/.strings/.json .
Hi, i'm trying to use
poeditor pull
within my project, but I get an error. Could you help me?My
poeditor-config.json
looks like this:When I try
poeditor pull
command in terminal, I get an error:Previously I have tried with
"fileType": "json"
and it worked correctly.The text was updated successfully, but these errors were encountered: