Returns a bug error that's thrown when the lookup of the package.json traversing the directory hierarchy up can't find a package.json
The directory from which the traverse has been done
An abort error.
Optional
Selected JSON-serializable data to include in JSON errors. Never attach the raw error or request.
Returns a bug error that's thrown when the lookup of the package.json traversing the directory hierarchy up can't find a package.json
Param: directory
The directory from which the traverse has been done
Returns
An abort error.