SimplyEmu
SimplyEmu
PPrisma
Created by SimplyEmu on 9/25/2024 in #help-and-questions
Question about interactive transactions
I think I just need to come up with a different file naming scheme. I’m trying to prevent creating the playlist if the file upload fails. Probably a horrible way to go about it but it is what it is i guess.
4 replies
PPrisma
Created by SimplyEmu on 5/1/2024 in #help-and-questions
mysql table collation
Thanks so much for the help. That is what I was having trouble finding.
4 replies
PPrisma
Created by SimplyEmu on 3/27/2024 in #help-and-questions
Deploying to Railway
I am getting this error when trying to deploy there
error: Could not resolve: ".prisma/client/index-browser". Maybe you need to "bun install"?

#12 0.415 const prisma = require('.prisma/client/index-browser')

#12 0.415 ^

#12 0.415 /app/node_modules/@prisma/client/index-browser.js:1:24 23



#12 0.424 error: script "build" exited with code 1 (SIGHUP)

#12 ERROR: process "/bin/bash -ol pipefail -c bun run build" did not complete successfully: exit code: 1

-----

> [stage-0 8/10] RUN --mount=type=cache,id=s/41fc0ed0-fdbf-449f-b6e1-7f89b813d8d4-node_modules/cache,target=/app/node_modules/.cache bun run build:

0.307 $ bun build src/index.ts

0.415

0.415

0.415 error: Could not resolve: ".prisma/client/index-browser". Maybe you need to "bun install"?

0.415 const prisma = require('.prisma/client/index-browser')

0.415 ^

0.415 /app/node_modules/@prisma/client/index-browser.js:1:24 23

0.424 error: script "build" exited with code 1 (SIGHUP)
error: Could not resolve: ".prisma/client/index-browser". Maybe you need to "bun install"?

#12 0.415 const prisma = require('.prisma/client/index-browser')

#12 0.415 ^

#12 0.415 /app/node_modules/@prisma/client/index-browser.js:1:24 23



#12 0.424 error: script "build" exited with code 1 (SIGHUP)

#12 ERROR: process "/bin/bash -ol pipefail -c bun run build" did not complete successfully: exit code: 1

-----

> [stage-0 8/10] RUN --mount=type=cache,id=s/41fc0ed0-fdbf-449f-b6e1-7f89b813d8d4-node_modules/cache,target=/app/node_modules/.cache bun run build:

0.307 $ bun build src/index.ts

0.415

0.415

0.415 error: Could not resolve: ".prisma/client/index-browser". Maybe you need to "bun install"?

0.415 const prisma = require('.prisma/client/index-browser')

0.415 ^

0.415 /app/node_modules/@prisma/client/index-browser.js:1:24 23

0.424 error: script "build" exited with code 1 (SIGHUP)
2 replies