diff --git a/lib/module.js b/lib/module.js index ef2b97322e3d2e..d9442a62b7c372 100644 --- a/lib/module.js +++ b/lib/module.js @@ -676,9 +676,8 @@ Module._preloadModules = function(requests) { throw e; } } - requests.forEach(function(request) { - parent.require(request); - }); + for (var n = 0; n < requests.length; n++) + parent.require(requests[n]); }; Module._initPaths();