I don't know where the problem is, my project is a monorepo project built with pnpm workspace, by deleting the node_modules and pnpm-lock.yaml in the root directory, use pnpm install to solve this problem
pnpm workspace
node_modules
pnpm-lock.yaml
pnpm install