For me the source of this and other errors was trying to use pnpm dlx with expo start.
pnpm dlx
expo start
If you're using pnpm just use pnpm expo start
pnpm
pnpm expo start