function getPackageLockJSONVersion(packageLockJSONPath) {
  try {
    const packageLockJSON = fs.readFileSync(packageLockJSONPath, "utf8");
    const parsedPackageLockJSON = JSON.parse(packageLockJSON);
    return parsedPackageLockJSON.lockfileVersion;
  } catch (error) {
    if (error.code === "ENOENT") {
      console.log("Lockfile wasn't found. Create new!");
      return;
    }
    throw new Error(error.message);
  }
}
Reads the lockfile, parses it, and returns the lockfile version. If lockfile is not found, returns an error.
@param {string} packageLockJSONPath
@returns