Skip to content

CLI babel-core error #238

Closed
Closed
@queicherius

Description

@queicherius

I have a small issue with using the CLI tool. My project uses @babel/core@^7.0.0-beta.49 and @lingui/cli@^2.0.7. Running the CLI tool now throws the following error:

Error: Requires Babel "^7.0.0-0", but was loaded with "6.26.3". If you are sure you have a compatible version of @babel/core, it is likely that something in your build process is loading the wrong version. Inspect the stack trace of this error to look for the first entry that doesn't mention "@babel/core" or "babel-core" to see what is calling Babel.

If I now go and delete node_modules/@lingui/cli/node_modules/babel-core/, everything works as expected.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions