Skip to content

Better "module not found" message #401

Closed
@gaearon

Description

@gaearon

This is what I see when I forget to install some npm dependencies:

screen shot 2016-08-08 at 16 34 37

wat

This is overwhelming and unnecessary.
We should have simple messages, like:

These dependencies were not found in node_modules:

  * redux
  * react-redux

Did you forget to run npm install --save for them?

I’m not sure what to do with local file missing errors (i.e. when you import a non-existing file in src). We should probably group them separately but also in a less intimidating way.

I don’t personally plan to work on this so any help is welcome!

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