Michael
Michael
Explore posts from servers
RRailway
Created by Spacemandev on 9/18/2023 in #✋|help
OpenSSL error when using Bun + Prisma
i have the same problem
65 replies
RRailway
Created by Michael on 9/10/2023 in #✋|help
deploy prisma/client not found
still the same error
PrismaClientInitializationError: Unable to require(`/app/node_modules/.prisma/client/libquery_engine-debian-openssl-3.0.x.so.node`).

Prisma cannot find the required `libssl` system library in your system. Please install openssl-3.0.x and try again.

Details: libssl.so.3: cannot open shared object file: No such file or director
PrismaClientInitializationError: Unable to require(`/app/node_modules/.prisma/client/libquery_engine-debian-openssl-3.0.x.so.node`).

Prisma cannot find the required `libssl` system library in your system. Please install openssl-3.0.x and try again.

Details: libssl.so.3: cannot open shared object file: No such file or director
72 replies
RRailway
Created by Michael on 9/10/2023 in #✋|help
deploy prisma/client not found
this doesnt seem to change anything
72 replies
RRailway
Created by Michael on 9/10/2023 in #✋|help
deploy prisma/client not found
oh im having the same error now as the other guy
Prisma cannot find the required `libssl` system library in your system. Please install openssl-3.0.x and try again.

Details: libssl.so.3: cannot open shared object file: No such file or directory
Prisma cannot find the required `libssl` system library in your system. Please install openssl-3.0.x and try again.

Details: libssl.so.3: cannot open shared object file: No such file or directory
72 replies
RRailway
Created by Michael on 9/10/2023 in #✋|help
deploy prisma/client not found
bun run start and then
"start": "bun --bun run ./build/index.js"
"start": "bun --bun run ./build/index.js"
72 replies
RRailway
Created by Michael on 9/10/2023 in #✋|help
deploy prisma/client not found
which makes sense tbh but locally it didnt matter somehow
72 replies
RRailway
Created by Michael on 9/10/2023 in #✋|help
deploy prisma/client not found
im now doing
"build": "npx prisma generate && vite build"
"build": "npx prisma generate && vite build"
the prisma generate before the build
72 replies
RRailway
Created by Michael on 9/10/2023 in #✋|help
deploy prisma/client not found
i think i got it working on railway now
72 replies
RRailway
Created by Michael on 9/10/2023 in #✋|help
deploy prisma/client not found
yeah i mean its not just the performance i love bun with all the stuff integrated already i use some functions of it such as the password hashing
72 replies
RRailway
Created by Michael on 9/10/2023 in #✋|help
deploy prisma/client not found
i dont have a railway.json only this
[phases.setup]
nixpkgsArchive = 'c054b2a07bce2be3b85fed85f45aea6a4b97f5cc'
nixPkgs = ['...', 'nodejs_18']
[phases.setup]
nixpkgsArchive = 'c054b2a07bce2be3b85fed85f45aea6a4b97f5cc'
nixPkgs = ['...', 'nodejs_18']
in my nixpacks.toml
72 replies
RRailway
Created by Michael on 9/10/2023 in #✋|help
deploy prisma/client not found
but when i locally run bun run build it works
72 replies
RRailway
Created by Michael on 9/10/2023 in #✋|help
deploy prisma/client not found
but without the --bun its also running bun x prisma generate
72 replies
RRailway
Created by Michael on 9/10/2023 in #✋|help
deploy prisma/client not found
is it maybe becuase i use bun --bun run build ?
72 replies
RRailway
Created by Michael on 9/10/2023 in #✋|help
deploy prisma/client not found
nope
72 replies
RRailway
Created by Michael on 9/10/2023 in #✋|help
deploy prisma/client not found
im also not sure why its running bun x prisma generate when my build script looks like this
"build": "vite build && npx prisma generate",
"build": "vite build && npx prisma generate",
72 replies
RRailway
Created by Michael on 9/10/2023 in #✋|help
deploy prisma/client not found
its like doing nothing
72 replies
RRailway
Created by Michael on 9/10/2023 in #✋|help
deploy prisma/client not found
nhm ok so for some reason it is not working still though
#12 0.597 $ vite build && bun x prisma generate



#12 1.545

#12 1.545 vite v4.4.9 building SSR bundle for production...

#12 1.632 transforming...



#12 1.854 7:06:15 PM [vite-plugin-svelte] /app/src/routes/login/+page.svelte:81:9 A11y: '#' is not a valid href attribute

#12 1.854 79: <div class="text-sm leading-6">

#12 1.854 80: <a

#12 1.854 81: href="#"

#12 1.854 ^

#12 1.854 82: class="font-semibold text-violet-600 hover:text-violet-500">Forgot password?</a

#12 1.854 83: >



#12 4.149 ✓ 81 modules transformed.



#12 4.295 rendering chunks...



#12 5.003 error:

#12 5.003

#12 5.003 error: Cannot find module ".prisma/client/index" from "/app/node_modules/@prisma/client/index.js"

#12 5.003
#12 0.597 $ vite build && bun x prisma generate



#12 1.545

#12 1.545 vite v4.4.9 building SSR bundle for production...

#12 1.632 transforming...



#12 1.854 7:06:15 PM [vite-plugin-svelte] /app/src/routes/login/+page.svelte:81:9 A11y: '#' is not a valid href attribute

#12 1.854 79: <div class="text-sm leading-6">

#12 1.854 80: <a

#12 1.854 81: href="#"

#12 1.854 ^

#12 1.854 82: class="font-semibold text-violet-600 hover:text-violet-500">Forgot password?</a

#12 1.854 83: >



#12 4.149 ✓ 81 modules transformed.



#12 4.295 rendering chunks...



#12 5.003 error:

#12 5.003

#12 5.003 error: Cannot find module ".prisma/client/index" from "/app/node_modules/@prisma/client/index.js"

#12 5.003
72 replies
RRailway
Created by Michael on 9/10/2023 in #✋|help
deploy prisma/client not found
im running npx prisma generate in my start script now or how would you do it
72 replies
RRailway
Created by Michael on 9/10/2023 in #✋|help
deploy prisma/client not found
i tried this with the setup brody said and its still not really working its not running prisma generate for some reason
72 replies
RRailway
Created by Michael on 9/9/2023 in #✋|help
deploy bun 1.0 project
is this automatically using the latest version for example 1.0.2 now ?
71 replies