ice icon indicating copy to clipboard operation
ice copied to clipboard

zod v4无法正常运行

Open oneQiu opened this issue 1 month ago • 1 comments

Describe the bug

本地安装了react-hook-form 和@hookform/resolvers zod v4 ,然后从@hookform/resolvers/zod导出 zodResovler的时候会提示 zod v4模块找不到。看了一下貌似是因为它直接使用的是nodemodules下的zod,恰好ice/bundles使用了3.0的zod。所以现在的情况就是无法使用v4版本。

Image

Expected behavior

zod v4正常使用

Actual behavior

No response

Version of ice.js

3.6.1

Content of build.json or ice.config.mts


Additional context

No response

oneQiu avatar Nov 05 '25 06:11 oneQiu

提供下简单的复现代码

ClarkXia avatar Nov 06 '25 05:11 ClarkXia