Closed elonzh closed 3 weeks ago
lingui is also commonjs and could not use pure ESM modules.
Your issues are not related to the lingui itself, but to how package manager resolved the packages. It should not use newer version of ora for the lingui because it is explicitly stated in the dependencies to use "ora": "^5.1.0"
I use Yarn for my day 2 day work, and this never happened to me. Most likely, you have something wrong with your node_modules folder, lock file, or explicit resolutions overrides in package.json
I'm closing this, because there is nothing to do from lingui side
Describe the bug
@lingui/cli requires "ora": "^5.1.0" as dependency, which is too old and is a commonjs moudule. That may conflict with other dependency like
eslint-config-next
.To Reproduce Install
eslint-config-next
and@lingui/cli
, runlingui extract
command.Additional context Add any other context about the problem here.
4.13.0
ora
package is pure ESM after v6.0.0 and requires strip-ansi > 7.0.0ora
v7 requires Node.js 16, v8 requires Node.js 18