BradMcA
BradMcA
Explore posts from servers
DDeno
Created by BradMcA on 12/20/2024 in #help
Checking less - when it comes to deploying..
How to customise demo deploy, e.g. skip checking for typos, formatting etc as I just seem to be going in endless loops trying to get all these checks happy
1 replies
DDeno
Created by BradMcA on 12/16/2024 in #help
DeployCTL deploy without getting a new github token every time?
Must be a way to persist a token to make deploy more streamlined..
4 replies
DDeno
Created by BradMcA on 12/11/2024 in #help
Need a little help with deno deploy for a newbie
Hi, How to pass my .env file on deploy and how to not have to authorize with github in the browser every time? this is an example of how I am trying it now with my typical auth failure response - the site deploys but the .env does not PS C:\Users\Brad\saaskit> deployctl deploy --env-file=.env >> i Using config file 'C:\Users\Brad\saaskit\deno.json'
‼ Failed to get token from credentials file. Will provision a new token for this execution but please make sure to fix the issue afterwards. × The credentials file has been tampered with and will be ignored. Please delete it.
i Provisioning a new access token... i Authorization URL:........
5 replies
WWasp
Created by BradMcA on 5/14/2024 in #🙋questions
Error while seeding DB any ideas how to solve? #p2021
[ Db ] Environment variables loaded from .env [ Db ] Running seed command npm run db-seed ... [ Db ] [ Db ] > [email protected] db-seed [ Db ] > npm run bundle && node --enable-source-maps -r dotenv/config bundle/dbSeed.js [ Db ] [ Db ] [ Db ] > [email protected] bundle [ Db ] > rollup --config --silent [ Db ] [ Db ] Running seed: devSeedUsers [ Db !] PrismaClientKnownRequestError: [ Db !] Invalid prismaClient.user.create() invocation in [ Db !] /mnt/c/users/brad/xyz/app/src/server/scripts/usersSeed.ts:41:33 [ Db !] [ Db !] 38 try { [ Db !] 39 await Promise.all( [ Db !] 40 USERS.map(async (user) => { [ Db !] → 41 await prismaClient.user.create( [ Db !] The table public.User does not exist in the current database. [ Db !] at Rn.handleRequestError (/mnt/c/users/brad/xyz/app/node_modules/@prisma/client/runtime/library.js:174:7325) [ Db !] at Rn.handleAndLogRequestError (/mnt/c/users/brad/xyz/app/node_modules/@prisma/client/runtime/library.js:174:6754) [ Db !] at Rn.request (/mnt/c/users/brad/xyz/app/node_modules/@prisma/client/runtime/library.js:174:6344) [ Db !] at <anonymous> (/mnt/c/users/brad/xyz/app/src/server/scripts/usersSeed.ts:41:15) [ Db !] at async Promise.all (index 4) [ Db !] at Object.devSeedUsers (/mnt/c/users/brad/xyz/app/src/server/scripts/usersSeed.ts:39:5) [ Db !] at main (/mnt/c/users/brad/xyz/app/.wasp/out/server/src/dbSeed.ts:23:10) { [ Db !] code: 'P2021', [ Db !] clientVersion: '4.16.2', [ Db !] meta: { table: 'public.User' } [ Db !] } [ Db ] [ Db ] 🌱 The seed command has been executed. ✅ --- Database seeded successfully! ----------------------------------------------
8 replies