If cannot find any package.json file, throws an error.