effect-machine@0.17.1 declares effect: >=4.0.0-beta.64 as a peer dependency, but it fails with the newer peer-compatible effect@4.0.0-rc.110.
Clean repro:
mkdir effect-machine-repro
cd effect-machine-repro
bun init -y
bun add effect@4.0.0-rc.110 effect-machine@0.17.1
bun -e "await import(`effect-machine`)"
Result:
TypeError: Schema.TaggedErrorClass is not a function
dist/errors.js calls Schema.TaggedErrorClass(), which is available with the package's development dependency, effect@4.0.0-beta.64, but not with RC110.
Either update the generated runtime for current Effect or narrow the peer range so it does not claim RC110 compatibility.
effect-machine@0.17.1declareseffect: >=4.0.0-beta.64as a peer dependency, but it fails with the newer peer-compatibleeffect@4.0.0-rc.110.Clean repro:
Result:
dist/errors.jscallsSchema.TaggedErrorClass(), which is available with the package's development dependency,effect@4.0.0-beta.64, but not with RC110.Either update the generated runtime for current Effect or narrow the peer range so it does not claim RC110 compatibility.