Read package.json from the given path if it exists. Logs a warning if it doesn't exist, or there's an error reading or parsing it.
The package info, or undefined if it doesn't exist or can't be read
Read package.json from the given path if it exists. Logs a warning if it doesn't exist, or there's an error reading or parsing it.