You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 22, 2023. It is now read-only.
I've got a strange behavior with require when in some cases require() at the beginning of the file causes undefined instead of contents of exports object. Lazy require in methods works well in that case (I really hope so).
I've got a strange behavior with require when in some cases
require()at the beginning of the file causesundefinedinstead of contents ofexportsobject. Lazy require in methods works well in that case (I really hope so).You may see example code here: node-require-bug.
Sorry for my poor English explanation, I hope you'll see everything in example.