-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Segmentation fault when creating projects with npm create hono@latest
#35
Comments
Is |
はい、@yusukebe My current workaroundcreating project manually by copying templates from Most likely caused byThe problem seems to be with a package called Beforeprosenjit@joy:/tmp/create-hono$ chmod +x bin
prosenjit@joy:/tmp/create-hono$ ./bin
create-hono version 0.7.0
? Target directory my-app
? Which template do you want to use? vercel
? Directory not empty. Continue? yes
Segmentation fault (core dumped) Afterprosenjit@joy:/tmp/create-hono$ chmod +x bin
prosenjit@joy:/tmp/create-hono$ ./bin
create-hono version 0.7.0
? Target directory my-app
? Which template do you want to use? nodejs
? Do you want to install project dependencies? yes
? Which package manager do you want to use? npm
🎉 Copied project files
Get started with: cd my-app |
Probably related to the following: sindresorhus/ora#229 |
It seems to be related to that @ryuapp Or do you know any other library or idea to solve this? |
Hi @yusukebe I can't confirm whether this solves segmentation fault problems because I can't reproduce it, but I think it will work. |
That's good, only on dependency! If you can, could you create the PR to replace |
It is now working. Thanks. |
Context
Running a simple command like
npm create hono@latest ./my-app -- --template cloudflare-pages
givesExpected
Should work as intended to create projects using different templates.
Device
Kernel: Linux 6.8.7
Distro: Fedora 40
Node: 20.12.2
NPM: 10.5.0
Git: 2.44.0
The text was updated successfully, but these errors were encountered: