Returns an abort error that's thrown when a directory that's expected to have a package.json doesn't have it.
The path to the directory that should contain a package.json
An abort error.
Optional
Returns an abort error that's thrown when a directory that's expected to have a package.json doesn't have it.
Param: directory
The path to the directory that should contain a package.json
Returns
An abort error.