`fly launch` doesn't work on nuxt 3 aplication.
Please only report specific issues with flyctl behavior. Anything like a support request for your application should go to https://community.fly.io. More people watch that space and can help you faster!
Describe the bug
Was following this guide, the fly launch command detected the nuxt app as a node app.
- Operating system
macOS fly version:0.1.7
** Paste your fly.toml
Generates a node js docker file.
** Command output: **
❯ fly launch
Creating app in /tmp/nuxt-app
Scanning source code
Detected a NodeJS app ?
https://github.com/superfly/flyctl/blob/64a31bf73c6e1509567cc6be0b2a19340e80e810/scanner/nuxtjs.go#L4
I think the issue is here. Configuration · Get Started with Nuxt uses nuxt.config.ts by default.
I just made it work @Rohithgilla12! Opening a PR.
That's so cool Thanks a lot 🫡
Hope this gets merged tomorrow. Otherwise, will tag a Fly.io team member.
@redjonzaci Looks like it's not reviewed yet 👀
Hey @Rohithgilla12, sorry about that, but I am sure Fly.io team members must be working on higher priority issues.
To unblock you, you can rename nuxt.config.ts to nuxt.config.js and then when fly launch prompts you to deploy, deny and add these changes to the Dockerfile that is generated:
https://github.com/superfly/flyctl/pull/2812/commits/42f1aa8e49f4f257a4e5d2c12f78198a7f6449a5#diff-27c9f5cf2c02c33c96d414a8acc31092e11ebd1df8ba68884a55830b17523b9a
And then fly deploy.
Let me know if it works!