Open ryuapp opened 2 weeks ago
It's node compatibility issue for Bun, but it seems to be caused by readFileSync/writeFileSync below: https://github.com/honojs/create-hono/blob/f7ba1917bd1087c71deeea7e2a408484f08a8ba9/src/hooks/after-create.ts#L11-L16
Does this mean "node compatibility issue for Bun on Windows"?
Does this mean "node compatibility issue for Bun on Windows"?
Yes, it does. I tried the same thing in WSL but it didn't reproduce.
I had misunderstood this issue a bit. The cause was that template files could not be cloned with Bun. We could only get directories for the template.
Related: https://github.com/honojs/hono/issues/2992
This problem does not occur if you install Node.js.