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
An error has occurred:
The "path" argument must be of type string. Received undefined
TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received undefined
at Object.join (node:path:433:7)
at DeepL.runTranslation (C:\Users\<USER>\AppData\Local\npm-cache\_npx\c2e5601f47c93b16\node_modules\json-autotranslate\lib\services\deepl.js:230:39)
at DeepL.translateStrings (C:\Users\<USER>\AppData\Local\npm-cache\_npx\c2e5601f47c93b16\node_modules\json-autotranslate\lib\services\deepl.js:123:43)
at C:\Users\<USER>\AppData\Local\npm-cache\_npx\c2e5601f47c93b16\node_modules\json-autotranslate\lib\index.js:243:60
at translate (C:\Users\<USER>\AppData\Local\npm-cache\_npx\c2e5601f47c93b16\node_modules\json-autotranslate\lib\index.js:184:72)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
Using npx with the specifix v1.14.3 version (npx [email protected] ...) is a temporary solution.
The text was updated successfully, but these errors were encountered:
Well, after giving a closer look into the latest release, I saw this change in the README: set the glossaries folder to be used by DeepL. Keep empty for automatic determination of matching glossary.
So, adding -g to the command makes everything work again.
@leolabs maybe make it more clear in the docs that this option is mandatory? 🤔
I'm using
json-autotranslate
with this call:Using a
en.json
like this:This was working fine using v1.14.3.
But with v1.14.4 the following error is thrown:
Using npx with the specifix v1.14.3 version (
npx [email protected] ...
) is a temporary solution.The text was updated successfully, but these errors were encountered: