My project sometimes automatically disables pnpm

My project automatically disables pnpm. This happens occasionally like once in a week. But everytimes it disables it gives error on webpack and the project stops running and have to manually enable-pnpm.

Sometimes i webpack and shows a white screen client side