latticexyz / mud

MUD is a framework for building autonomous worlds
https://mud.dev
MIT License
721 stars 180 forks source link

fresh install of `react-ecs` template has type errors #2591

Open Kooshaba opened 6 months ago

Kooshaba commented 6 months ago

Just created a fresh template project and am seeing type errors during setup.

Specifically, the constructed publicClient and burnerWalletClient are not matching the expected types for viem's getContract.

Also, syncToRecs is failing because of fun, new error I've never seen: Type instantiation is excessively deep and possibly infinite.

holic commented 6 months ago

weird, I ran our template test CI job, which creates a project from a template at the specified version, and pnpm run test (which runs tsc --noEmit in the client) didn't seem to surface any errors: https://github.com/latticexyz/mud/actions/runs/8518712177/job/23331361202