Skip to content

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

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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