"create-hono" command error
yinsheng@yinshengdeMac-mini demo % yarn create hono my-app yarn create v1.22.22 [1/4] 🔍 Resolving packages... [2/4] 🚚 Fetching packages... [3/4] 🔗 Linking dependencies... [4/4] 🔨 Building fresh packages...
success Installed "[email protected]" with binaries: - create-hono [##] 2/2create-hono version 0.18.0 ✔ Using target directory … my-app
/Users/yinsheng/.config/yarn/global/node_modules/create-hono/bin:14026 const last = items.findLastIndex(isSelectable); ^
TypeError: items.findLastIndex is not a function at /Users/yinsheng/.config/yarn/global/node_modules/create-hono/bin:14026:24 at /Users/yinsheng/.config/yarn/global/node_modules/create-hono/bin:13301:21 at withPointer (/Users/yinsheng/.config/yarn/global/node_modules/create-hono/bin:12854:23) at useMemo (/Users/yinsheng/.config/yarn/global/node_modules/create-hono/bin:13298:10) at /Users/yinsheng/.config/yarn/global/node_modules/create-hono/bin:14024:18 at /Users/yinsheng/.config/yarn/global/node_modules/create-hono/bin:13820:28 at Object.store.handleChange (/Users/yinsheng/.config/yarn/global/node_modules/create-hono/bin:12808:9) at cycle (/Users/yinsheng/.config/yarn/global/node_modules/create-hono/bin:12810:13) at /Users/yinsheng/.config/yarn/global/node_modules/create-hono/bin:13818:7 at /Users/yinsheng/.config/yarn/global/node_modules/create-hono/bin:12812:12 error Command failed. Exit code: 1 Command: /Users/yinsheng/.yarn/bin/create-hono Arguments: my-app Directory: /Users/yinsheng/Documents/demo Output:
info Visit https://yarnpkg.com/en/docs/cli/create for documentation about this command.
This is not an issue for this repo but create-hono project matter. I'll transfer this issue to it.