N
Nuxt3d ago
kitten

bun 1.2 nuxt

nuxi init command is not working
No description
2 Replies
kapa.ai
kapa.ai3d ago
Hi @kitten. I'm kapa.ai, your friendly support bot. I will try to answer your question by searching through the knowledge base. :wave: ---------------------- Based on the knowledge sources provided, there appears to be an issue with using Bun 1.2 and the nuxi init command for Nuxt. This problem is specifically mentioned in a GitHub issue. According to a GitHub issue, there is a regression in Bun v1.2.0 that affects the nuxi init command. The issue reports that using bun --bun run dev results in a 502 bad gateway error. The problem seems to be related to a file URL path encoding issue. The error message reported is:
[nuxt] [request error] [unhandled] [500] File URL path must not include encoded / characters
[nuxt] [request error] [unhandled] [500] File URL path must not include encoded / characters
This appears to be a regression in Bun v1.2.0, as the previous version (v1.1.33) was reported to be working. As a workaround, you might consider: 1. Using an earlier version of Bun (v1.1.33 was mentioned as working) 2. Using an alternative package manager like npm, yarn, or pnpm to run the nuxi init command If you continue to experience issues, it would be advisable to report this to the Bun repository, as suggested in the GitHub issue. For the most up-to-date information on using Bun with Nuxt, you may want to check the official Nuxt documentation or the Bun documentation. ---------------------- Note: you can ask me a follow up question by @ mentioning me again :speech_balloon: ----------------------
kapa.ai
kapa.ai3d ago
<@1265695120725119036> Kapa.ai is still learning and improving, please let me know how I did by reacting below.

Did you find this page helpful?