@lingui/cli dependancy cli-table when using 0.3.7 breaks extract
See original GitHub issueDescribe the bug getting error:
node_modules/cli-table/lib/utils.js:85
var split = stripped.split("\n");
TypeError: stripped.split is not a function
To Reproduce
run lingui extract
Expected behavior to extract without error
Additional context https://github.com/Automattic/cli-table/issues/152
- jsLingui version 3.12.1
- Babel version 7.16.0
Workaround
Have added "cli-table": "0.3.6",
in my project dev-dependancy
Issue Analytics
- State:
- Created 2 years ago
- Reactions:10
- Comments:5 (3 by maintainers)
Top Results From Across the Web
0.3.7 is broken · Issue #152 · Automattic/cli-table · GitHub
After updating implicit cli-table dependency from 0.3.6 that works fine to 0.3.7, ... @lingui/cli dependancy cli-table when using 0.3.7 breaks extract ...
Read more >@lingui/babel-preset-react | Yarn - Package Manager
Fast, reliable, and secure dependency management.
Read more >A readable, automated, and optimized (5 kb ... - BestofReactjs
Powerful tooling - Manage the whole intl workflow using Lingui CLI. It extracts messages from source code, validates messages coming from ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Fixed this on latest version. 3.13.0.
For those having this issue and using npm, you should pin the version 0.3.6 of
cli-table
in yourpackage-lock.json
@lingui/cli
cli-table
key inrequires
dependancies
:In the meantime I also submitted #1172 if the maintainers here would like to take a precautionary action (essentially preventing every new installations of
@lingui/cli
from being broken at this time)