We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
This package does not work with Node version 16.
msgid "" msgstr "" "Project-Id-Version: i18next-conv\n" "mime-version: 1.0\n" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=(n > 1)\n" "POT-Creation-Date: 2022-02-04T22:13:20.856Z\n" "PO-Revision-Date: 2022-02-04T22:13:20.856Z\n" "Language: en\n" msgid "This is a string" msgstr "This is a string"
i18next-conv -l en -s en.po -t out.json
Expect the conversion to work and out.json with the translated strings.
With a little digging, found that in Node 16 it is due to this particular line:
i18next-conv/bin/index.js:157:9 { code: ‘ERR_INVALID_CALLBACK’ }
mkdir requires a callback, which is not supplied.
mkdir
In the package.json it states that supported node versions are node >= 12.2.
Alternative could be to state in the package.json that only node version 12.2 is supported.
The text was updated successfully, but these errors were encountered:
Oh so sorry, somehow that escaped me! That's a mistake, it should be mkdirSync instead. I will fix this, thanks for the report!
mkdirSync
Sorry, something went wrong.
Released in v12.0.1
v12.0.1
Successfully merging a pull request may close this issue.
🐛 Bug Report
This package does not work with Node version 16.
To Reproduce
Expected behavior
Expect the conversion to work and out.json with the translated strings.
Your Environment
Additional Details
With a little digging, found that in Node 16 it is due to this particular line:
mkdir
requires a callback, which is not supplied.In the package.json it states that supported node versions are node >= 12.2.
Alternative could be to state in the package.json that only node version 12.2 is supported.
The text was updated successfully, but these errors were encountered: