Find the required CommonJS modules in a given path(s).