Skip to content

[Bug]: Improve error message for plugins not found in node_modules #15680

@nicolo-ribaudo

Description

@nicolo-ribaudo

💻

  • Would you like to work on this feature?

What problem are you trying to solve?

#15679, #15655

Describe the solution you'd like

  • Point out exactly which file is declaring the missing plugin
  • If it's a missing dependency in a package, explicitly blame the package so that users know where to report the issue
  • Make it clear in the error message that this is not a Babel bug
  • Suggest as a workaround to add the plugin in the top-level package.json

Describe alternatives you've considered

/

Documentation, Adoption, Migration Strategy

No response

Metadata

Metadata

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions