Use path.resolve() when requiring the package.json file