elem icon indicating copy to clipboard operation
elem copied to clipboard

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

Open em opened this issue 9 years ago • 0 comments

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.

em avatar Aug 22 '16 13:08 em