-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
Wrong JSON structure in ...\node_modules\yargs\locales\cs.json
during a migration process
#12380
Comments
...\node_modules\yargs\locales\cs.json
during migration process...\node_modules\yargs\locales\cs.json
during a migration process
Hey @mlc-mlapis! As noted, this is an issue in the |
@AgentEnder Fine, that was the primary reason for creating the issue here + informing others about it.
|
Not sure if this helps, but you should be able to get around the problem by assuming another (non-Czech) locale when you run the
Maybe give that a shot and let us know if it works. I assume it should then print out an error message in English. |
@nexdrew Thanks for the tip. I tried it, and it works.
|
@AgentEnder Hi, the new version of Yargs is ready now, https://github.com/yargs/yargs/releases/tag/v17.6.1, can you update the Nx dependencies? The problem with the valid JSON structure of the Yargs cs.json file has been fixed already. Thanks. |
Note that yargs 17.6.1 has not yet been published to the npm registry ... hopefully will be soon. |
@nexdrew I hope so. I didn't check. 💡 |
It's published as latest now, so you should be good to go with upgrading the yargs dependency. |
This issue has been closed for more than 30 days. If this issue is still occuring, please open a new issue with more recent context. |
Current Behavior
Running the
nx migrate latest
(or any other with a concrete version) command leads to a runtime error (Windows 10 with Czech locale set). I already created a PR in theyargs
package for it: yargs/yargs#2242When checking the file
cs.json
, it's clear that there is a mistake in the JSON structure on line 18 ("other": "Nedostatek argumentů: zadáno %s, je potřeba alespoň %s",
), where an extra comma is placed at the end of the line. Other locale files (like en.json, ...) don't have this mistake.Expected Behavior
Valid JSON structure of the
cs.json
file.The text was updated successfully, but these errors were encountered: