Trevor
Explore posts from serversEDSEthan's dev spot
•Created by Trevor on 10/8/2023 in #questions
BETH stack tutorial non-blocking: `pushToTenantDb` returns exit code of 1
One last comment on this:
For reasons unrelated to the problems detailed in this thread I recently reformatted my laptop. This resolved the earlier weirdness I was experiencing with Bun installing the wrong version of a node module for my CPU arch but when it comes to posting tenant dbs I'm still getting the exact same issue as described.
It successfully posts a new tenant db to Turso but there aren't any tables in it and I get the same errors described above.
I think this is a great tutorial and you can totally use it as a guide to make a full stack app with just one db, which is what most apps are going to want to do anyway, I just wanted to leave this here in case anybody runs into the same issue in the future.
30 replies
EDSEthan's dev spot
•Created by Trevor on 10/8/2023 in #questions
BETH stack tutorial non-blocking: `pushToTenantDb` returns exit code of 1
Thanks for trying though : D
30 replies
EDSEthan's dev spot
•Created by Trevor on 10/8/2023 in #questions
BETH stack tutorial non-blocking: `pushToTenantDb` returns exit code of 1
yeah weird. If I had to guess it's a Bun issue, bun installs the wrong version of a node module based on my architecture
30 replies
EDSEthan's dev spot
•Created by Trevor on 10/8/2023 in #questions
BETH stack tutorial non-blocking: `pushToTenantDb` returns exit code of 1
Yes
30 replies
EDSEthan's dev spot
•Created by Trevor on 10/8/2023 in #questions
BETH stack tutorial non-blocking: `pushToTenantDb` returns exit code of 1
maybe i just need to wait for the drizzle-kit CLI to get updated to take args, i think you mentioned in your video they were working on it 🤔
30 replies
EDSEthan's dev spot
•Created by Trevor on 10/8/2023 in #questions
BETH stack tutorial non-blocking: `pushToTenantDb` returns exit code of 1
hm it's hanging
30 replies
EDSEthan's dev spot
•Created by Trevor on 10/8/2023 in #questions
BETH stack tutorial non-blocking: `pushToTenantDb` returns exit code of 1
yep
30 replies
EDSEthan's dev spot
•Created by Trevor on 10/8/2023 in #questions
BETH stack tutorial non-blocking: `pushToTenantDb` returns exit code of 1
30 replies
EDSEthan's dev spot
•Created by Trevor on 10/8/2023 in #questions
BETH stack tutorial non-blocking: `pushToTenantDb` returns exit code of 1
oh that's a good idea
30 replies
EDSEthan's dev spot
•Created by Trevor on 10/8/2023 in #questions
BETH stack tutorial non-blocking: `pushToTenantDb` returns exit code of 1
30 replies
EDSEthan's dev spot
•Created by Trevor on 10/8/2023 in #questions
BETH stack tutorial non-blocking: `pushToTenantDb` returns exit code of 1
30 replies
EDSEthan's dev spot
•Created by Trevor on 10/8/2023 in #questions
BETH stack tutorial non-blocking: `pushToTenantDb` returns exit code of 1
30 replies
EDSEthan's dev spot
•Created by Trevor on 10/8/2023 in #questions
BETH stack tutorial non-blocking: `pushToTenantDb` returns exit code of 1
what's weird is that it successfully creates a turso db, which means the command we're passing to the spawned process is executing, at no point does it say it can't find the config file or something, but the db that gets created is in a corrupted state or something somehow
30 replies
EDSEthan's dev spot
•Created by Trevor on 10/8/2023 in #questions
BETH stack tutorial non-blocking: `pushToTenantDb` returns exit code of 1
hrm i don't see anything new getting logged out
30 replies
EDSEthan's dev spot
•Created by Trevor on 10/8/2023 in #questions
BETH stack tutorial non-blocking: `pushToTenantDb` returns exit code of 1
sure lemme try that
30 replies
EDSEthan's dev spot
•Created by Trevor on 10/8/2023 in #questions
BETH stack tutorial non-blocking: `pushToTenantDb` returns exit code of 1
no rush, i really think i've narrowed it down to the
pushToTenantDb
function as everything else is getting added to the other tables as expected. it's as if the tenant dbs are getting created but they're not accepting the schema for some reason
here's a link to the code as is in case that helps: https://github.com/trevorfehrman/beth-stack30 replies
EDSEthan's dev spot
•Created by Trevor on 10/8/2023 in #questions
BETH stack tutorial non-blocking: `pushToTenantDb` returns exit code of 1
Probably related and actually blocking: I just realized I'm not able to connect to the newly created db's.
It seems like somehow the schema isn't getting applied from this command maybe?
30 replies
EDSEthan's dev spot
•Created by Trevor on 9/29/2023 in #questions
BETH stack tutorial blocked "Sync is not supported in databases opened in file mode."
really excited to work through this project
45 replies
EDSEthan's dev spot
•Created by Trevor on 9/29/2023 in #questions
BETH stack tutorial blocked "Sync is not supported in databases opened in file mode."
yes it appears to run on remote, thanks again Ethan
45 replies
EDSEthan's dev spot
•Created by Trevor on 9/29/2023 in #questions
BETH stack tutorial blocked "Sync is not supported in databases opened in file mode."
i need my node module to look like that to be able to push the drizzle schema
45 replies