I got the same error in nx workspace. The pnpm stoped running prebuilds.
nx workspace
pnpm
prebuilds
corepack use [email protected]