function showError(name) {
    throw new Error('failed to find latest module of "' + name + '"');
  }
Find and require a module which name starts with the provided name.
If multiple modules exists, the highest semver is used. 
This function can only be used for remote dependencies.
@param {String} name - module name: `user~repo`
@param {Boolean} returnPath - returns the canonical require path if true, 
                              otherwise it returns the epxorted module