Get the file system path of a package by its name.
The name of the package to find.
Options for getting the package path.
The file system path of the package.
If the package is not found or if there are errors reading package.json files (when failOnError is true).
failOnError
Get the file system path of a package by its name.