Skip to content

Hono deleting my folder(I am new to hono) #2536

Answered by 26thavenue
26thavenue asked this question in Q&A
Discussion options

You must be logged in to vote

So every time I clone my empty repo from github and try to do bunx create hono I get a message saying the file is not empty despite there only being the invisible .git file and if i select yes it gives an error - " export default "/tmp/bunx-1000-create-hono@latest/node_modules/create-hono/bin"; ^ error: could not find commit hash for main code: "MISSING_REF"

  at new DegitError (/tmp/bunx-1000-create-hono@latest/node_modules/create-hono/bin:17108:9)
  at /tmp/bunx-1000-create-hono@latest/node_modules/create-hono/bin:17473:17"

and deletes my folder . How can I overcome this

So it is working using npm create hono@latest not bun

It was because I didnt use@latest when creating it with bu…

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@26thavenue
Comment options

Comment options

You must be logged in to vote
1 reply
@NicoPlyley
Comment options

Answer selected by 26thavenue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants