Minimal Starter template no end "studio nuxt build" actions
Environment
- Operating System:
ubuntu-latest, 20 - Node versión: 20.19.5
- Npm: 10.8.2
- Yarn: 1.22.22
- Nuxt Versión: 4.1.2
Version
v3
Reproduction
Use the 'Minimal Starter' template in Nuxt Studio, create a repository, and try to deploy it on GitHub pages from the deploy.
Description
Hi! I was following the Nuxt Studio module of "Pro Nuxt Workflow" from VueMastery. And in the step of deploying a simple blog with this template, the indicated action did not complete correctly.
`
-- The directory you're trying to deploy named /home/runner/work/my-nuxt-blog/my-nuxt-blog/.output/public doesn't exist. Please double check the path and any prerequisite build scripts and try again. ❗`
After inquiring and asking in the 'Nuxt' discord, it seems that the dependency 'better-sqlite3' has been lost somewhere. It needs to be manually added to the package.json (^12.2.0) for it to complete correctly.
Additional context
No response
Logs
Run JamesIves/github-pages-deploy-action@v4
with:
folder: ./.output/public
token: ***
branch: gh-pages
clean: true
force: true
attempt-limit: 3
╭━━━╮╭╮╭╮╱╭╮╱╱╭╮╱╱╭━━━╮
┃╭━╮┣╯╰┫┃╱┃┃╱╱┃┃╱╱┃╭━╮┃
┃┃╱╰╋╮╭┫╰━╯┣╮╭┫╰━╮┃╰━╯┣━━┳━━┳━━┳━━╮
┃┃╭━╋┫┃┃╭━╮┃┃┃┃╭╮┃┃╭━━┫╭╮┃╭╮┃┃━┫━━┫
┃╰┻━┃┃╰┫┃╱┃┃╰╯┃╰╯┃┃┃╱╱┃╭╮┃╰╯┃┃━╋━━┃
╰━━━┻┻━┻╯╱╰┻━━┻━━╯╰╯╱╱╰╯╰┻━╮┣━━┻━━╯
╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╭━╯┃
╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╰━━╯
╭━━━╮╱╱╱╱╱╭╮╱╱╱╱╱╱╱╱╭━━━╮╱╱╭╮
╰╮╭╮┃╱╱╱╱╱┃┃╱╱╱╱╱╱╱╱┃╭━╮┃╱╭╯╰╮
╱┃┃┃┣━━┳━━┫┃╭━━┳╮╱╭╮┃┃╱┃┣━┻╮╭╋┳━━┳━╮
╱┃┃┃┃┃━┫╭╮┃┃┃╭╮┃┃╱┃┃┃╰━╯┃╭━┫┃┣┫╭╮┃╭╮╮
╭╯╰╯┃┃━┫╰╯┃╰┫╰╯┃╰━╯┃┃╭━╮┃╰━┫╰┫┃╰╯┃┃┃┃
╰━━━┻━━┫╭━┻━┻━━┻━╮╭╯╰╯╱╰┻━━┻━┻┻━━┻╯╰╯
╱╱╱╱╱╱╱┃┃╱╱╱╱╱╱╭━╯┃
╱╱╱╱╱╱╱╰╯╱╱╱╱╱╱╰━━╯
💖 Support: https://github.com/sponsors/JamesIves
📣 Maintained by James Ives: https://jamesiv.es
🚀 Getting Started Guide: https://github.com/JamesIves/github-pages-deploy-action
❓ Discussions / Q&A: https://github.com/JamesIves/github-pages-deploy-action/discussions
🔧 Report a Bug: https://github.com/JamesIves/github-pages-deploy-action/issues
Checking configuration and starting deployment… 🚦
Error: The directory you're trying to deploy named /home/runner/work/my-nuxt-blog/my-nuxt-blog/.output/public doesn't exist. Please double check the path and any prerequisite build scripts and try again. ❗
Notice: Deployment failed! ❌
This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 30 days.
No info or data about this?
Hey @frodrisan, Sorry for the late response.
I don't now what is the VueMastery CI steps. But I can confirm that, due to lots issue, better-sqlite3 is no part of main package and instead package depends on native adapter of Node +22.
If you share your ci or share a repository, I can help you.
Hey @frodrisan, Sorry for the late response. I don't now what is the VueMastery CI steps. But I can confirm that, due to lots issue,
better-sqlite3is no part of main package and instead package depends on native adapter of Node +22.If you share your ci or share a repository, I can help you.
Hello, there is no repository because the lesson is a basic deployment of the template I'm referring to.
In other words, you choose a new project in nuxt.studio (website), select a template—in this case, the problematic one, "Minimal Starter"—follow all the steps for deployment to GitHub, and when the "automated" deployment is executed by the platform itself, it fails with the error indicated because the platform doesn't recognize what I've specified. The configuration generated by the nuxt.studio platform itself, in its package.json file, does not include better-sqlite3 for the deployment to finish successfully.
Hey @frodrisan, can you try to use the new Nuxt Studio module instead of the legacy platform (will be sunset end of year) following this setup: https://content.nuxt.com/docs/studio/setup ?
Please let me know if you face any issue with new module!
I could try replicating the steps outlined in the lesson, which, as I've already described, is simply deploying the specified template and seeing what happens. I'll post the results when I'm able to do so.