Open thatONEjustin opened 1 month ago
It is hard to tell from that error message what the problem is. It might not be related to Astro DB at all. Stackblitz does allow Astro config files, you can use https://astro.new/latest/ to create an example. If you'd prefer to create one and push to GitHub too that would work. Just so I can fork something and test it out. Something minimal. Thanks.
Hello @thatONEjustin. Please provide a minimal reproduction using a GitHub repository or StackBlitz. Issues marked with needs repro
will be closed if they have no activity within 3 days.
I'm still a little confused on setting up a stackblitz for this, this happens ONLY in a Github Action. everything works fine on my local machine. anyway I'm just trying to keep this open for now so here's a setup stack blitz with the configuration stuff set up as I had it.
https://stackblitz.com/edit/github-zs2kbp?file=.github%2Fworkflows%2Fdeploy.yml
Its hard to troubleshoot because my build errors only happen during the Astro provided build step in an action when the astro:db libraries are imported. I can run build locally and everything works good. It is only during a github pages deployment that I run into this error.
That's ok, just having the reproduction is what matters, using stackblitz was not required, just something we can fork and play around with. Thanks for it!
Astro Info
If this issue only occurs in one browser, which browser is a problem?
No response
Describe the Bug
Steps to reproduce
npx astro add db
to install dependencies--remote
flag to my build script commandPush to repo, build starts. the build step fails with exit code 1.
build error:
I can also confirm that the build works locally with --remote flag and other installation steps completed. I was also able to run the execute command and seed the DB so I know my secret key setup and CLI logins are working.
What's the expected result?
For the site to build and deploy.
I cannot link to a reproducible build on stackblitz because stackblitz doesn't allow astro config files (to my understanding)
Link to Minimal Reproducible Example
https://github.com/thatONEjustin/thatONEjustin.github.io/actions/runs/10021561493/job/27700375425#step:3:120
Participation