New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Uncaught TypeError: os.type is not a function #31
Comments
Hi, which version of NodeJS are you using? Are you using some kind of framework to build an application with (React Native, Ionic, etc)? It seems the I will create a task anyway to make sure an exception in that function doesn't break the library. |
Hi, I test it with node v18.16.1 (npm v9.5.1) and with node v16.20.0 (npm v8.19.4) thank you |
Thanks, I can reproduce this and will look into it. |
Hi @alandolsi .
Please let me know if this doesn't solve your problem. |
@JanEbbing Thank you for help. |
I become this error when i initialise the repository
Uncaught TypeError: os.type is not a function
at Translator.constructUserAgentString (deepl-node.js?v=e2e7fb1a:3446:33)
at new Translator (deepl-node.js?v=e2e7fb1a:3116:30)
at main.js:8:20
constructUserAgentString @ deepl-node.js?v=e2e7fb1a:3446
Translator @ deepl-node.js?v=e2e7fb1a:3116
(anonym) @ main.js:8
The text was updated successfully, but these errors were encountered: