This might be an old thread, but I was having the same issue, and I fixed it by checking the node version that Playwright is using in the package.json file and then updating the directory with that latest version of node per the json file.