$ bun create hono api
node:internal/errors:497
ErrorCaptureStackTrace(err);
^
TypeError [ERR_UNKNOWN_FILE_EXTENSION]: Unknown file extension "" for /private/tmp/bunx-501-create-hono@latest/node_modules/create-hono/bin. Loading extensionless files is not supported inside of "type":"module" package.json contexts. The package.json file /private/tmp/bunx-501-create-hono@latest/node_modules/create-hono/package.json caused this "type":"module" context. Try changing /private/tmp/bunx-501-create-hono@latest/node_modules/create-hono/bin to have a file extension. Note the "bin" field of package.json can point to a file with an extension, for example {"type":"module","bin":{"bin":"./bin.js"}
$ bun create hono api
node:internal/errors:497
ErrorCaptureStackTrace(err);
^
TypeError [ERR_UNKNOWN_FILE_EXTENSION]: Unknown file extension "" for /private/tmp/bunx-501-create-hono@latest/node_modules/create-hono/bin. Loading extensionless files is not supported inside of "type":"module" package.json contexts. The package.json file /private/tmp/bunx-501-create-hono@latest/node_modules/create-hono/package.json caused this "type":"module" context. Try changing /private/tmp/bunx-501-create-hono@latest/node_modules/create-hono/bin to have a file extension. Note the "bin" field of package.json can point to a file with an extension, for example {"type":"module","bin":{"bin":"./bin.js"}