code: function makeFakeModule(path) {
    const fakeModule = new Module(path, false);
    fakeModule.filename = path;
    fakeModule.paths = Module._nodeModulePaths(path);
    return fakeModule;
  }
docs: This function creates fake modules that can be used with the _resolveFilename function.
  Ideally it would be nice to be able to avoid this, since it causes useless allocations
  and cannot be cached efficiently (we recompute the nodeModulePaths every time).
  
  Fortunately, this should only affect the fallback, and there hopefully shouldn't be a
  lot of them.