Skip to content

require() throws a "module not found" exception if module.exports is set to undefined #11

@em

Description

@em

It should be possible to export undefined. Of particular interest is if a module doesn't export anything as a bug, the bug is harder to diagnose because the error is misleading.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions