It seems the issue can be resolved temporarily by downgrading the esbuild version. You can do this with the following command:
npm i -D [email protected]