Skip to content

"Error: Cannot find module" output should include filename #60

@jmm

Description

@jmm

When using browserify and there's a problem with the path to a module, I get error output like:

Error: Cannot find module 'module' from '/dir/subdir'

There may be any number of files in subdir that were trying to require the module. It would be really helpful for the error output to include the filename that contained the require() call instead of just the path to the dir it resides in.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions