Failed to install prisma

from @Boreal <3: I'm not using WSL anymore and instead using windows directly, I have all the dependcies but I still get a similar error
PS C:\Users\boreal\projects\opengb> opengb dev

─────────────────────────────────────────────────────────────────────────────────────
Generate runtime/
Generate prisma_output/ (users)
Generate prisma_output/ (rate_limit)
Generate prisma_output/ (tokens)


[UNCAUGHT] NotFound: Failed to spawn 'opengb_prisma_5_15_0': program not found
at spawnChildInner (ext:runtime/40_process.js:185:17)
at spawn (ext:runtime/40_process.js:382:10)
at Command.output (ext:runtime/40_process.js:455:12)
at ensurePrismaInstalledInner (https://raw.githubusercontent.com/rivet-gg/opengb/v0.1.1/src/migrate/prisma.ts:106:5)
at eventLoopTick (ext:core/01_core.js:168:7)
at async https://raw.githubusercontent.com/rivet-gg/opengb/v0.1.1/src/migrate/prisma.ts:41:10


[UNCAUGHT] NotFound: Failed to spawn 'opengb_prisma_5_15_0': program not found
at spawnChildInner (ext:runtime/40_process.js:185:17)
at spawn (ext:runtime/40_process.js:382:10)
at Command.output (ext:runtime/40_process.js:455:12)
at ensurePrismaInstalledInner (https://raw.githubusercontent.com/rivet-gg/opengb/v0.1.1/src/migrate/prisma.ts:106:5)
at eventLoopTick (ext:core/01_core.js:168:7)
at async https://raw.githubusercontent.com/rivet-gg/opengb/v0.1.1/src/migrate/prisma.ts:41:10


[UNCAUGHT] NotFound: Failed to spawn 'opengb_prisma_5_15_0': program not found
at spawnChildInner (ext:runtime/40_process.js:185:17)
at spawn (ext:runtime/40_process.js:382:10)
at Command.output (ext:runtime/40_process.js:455:12)
at ensurePrismaInstalledInner (https://raw.githubusercontent.com/rivet-gg/opengb/v0.1.1/src/migrate/prisma.ts:106:5)
at eventLoopTick (ext:core/01_core.js:168:7)
at async https://raw.githubusercontent.com/rivet-gg/opengb/v0.1.1/src/migrate/prisma.ts:41:10

Failed. Found 3 errors.
PS C:\Users\boreal\projects\opengb> opengb dev

─────────────────────────────────────────────────────────────────────────────────────
Generate runtime/
Generate prisma_output/ (users)
Generate prisma_output/ (rate_limit)
Generate prisma_output/ (tokens)


[UNCAUGHT] NotFound: Failed to spawn 'opengb_prisma_5_15_0': program not found
at spawnChildInner (ext:runtime/40_process.js:185:17)
at spawn (ext:runtime/40_process.js:382:10)
at Command.output (ext:runtime/40_process.js:455:12)
at ensurePrismaInstalledInner (https://raw.githubusercontent.com/rivet-gg/opengb/v0.1.1/src/migrate/prisma.ts:106:5)
at eventLoopTick (ext:core/01_core.js:168:7)
at async https://raw.githubusercontent.com/rivet-gg/opengb/v0.1.1/src/migrate/prisma.ts:41:10


[UNCAUGHT] NotFound: Failed to spawn 'opengb_prisma_5_15_0': program not found
at spawnChildInner (ext:runtime/40_process.js:185:17)
at spawn (ext:runtime/40_process.js:382:10)
at Command.output (ext:runtime/40_process.js:455:12)
at ensurePrismaInstalledInner (https://raw.githubusercontent.com/rivet-gg/opengb/v0.1.1/src/migrate/prisma.ts:106:5)
at eventLoopTick (ext:core/01_core.js:168:7)
at async https://raw.githubusercontent.com/rivet-gg/opengb/v0.1.1/src/migrate/prisma.ts:41:10


[UNCAUGHT] NotFound: Failed to spawn 'opengb_prisma_5_15_0': program not found
at spawnChildInner (ext:runtime/40_process.js:185:17)
at spawn (ext:runtime/40_process.js:382:10)
at Command.output (ext:runtime/40_process.js:455:12)
at ensurePrismaInstalledInner (https://raw.githubusercontent.com/rivet-gg/opengb/v0.1.1/src/migrate/prisma.ts:106:5)
at eventLoopTick (ext:core/01_core.js:168:7)
at async https://raw.githubusercontent.com/rivet-gg/opengb/v0.1.1/src/migrate/prisma.ts:41:10

Failed. Found 3 errors.
14 Replies
Boreal <3
Boreal <32y ago
im not having this issue anymore it says its already installed
ptato
ptatoOP2y ago
its a different error?
Boreal <3
Boreal <32y ago
yes
PS C:\Users\boreal\projects\OpenGB-RPCN> opengb dev

──────────────────────────────────────────────────────────────────────────────────────────────────────

Generate runtime/
Generate prisma_output/ (users)
Generate prisma_output/ (rate_limit)
Generate prisma_output/ (tokens)


error: Failed to install Prisma

stdout:

stderr: error: Existing installation found. Aborting (Use -f to overwrite).
error: Existing installation found. Aborting (Use -f to overwrite).


error: Failed to install Prisma

stdout:

stderr: error: Existing installation found. Aborting (Use -f to overwrite).
error: Existing installation found. Aborting (Use -f to overwrite).


error: Failed to install Prisma

stdout:

stderr: error: Existing installation found. Aborting (Use -f to overwrite).
error: Existing installation found. Aborting (Use -f to overwrite).


Failed. Found 3 errors.
^CTerminate batch job (Y/N)? y
PS C:\Users\boreal\projects\OpenGB-RPCN> opengb dev
PS C:\Users\boreal\projects\OpenGB-RPCN> opengb dev

──────────────────────────────────────────────────────────────────────────────────────────────────────

Generate runtime/
Generate prisma_output/ (users)
Generate prisma_output/ (rate_limit)
Generate prisma_output/ (tokens)


error: Failed to install Prisma

stdout:

stderr: error: Existing installation found. Aborting (Use -f to overwrite).
error: Existing installation found. Aborting (Use -f to overwrite).


error: Failed to install Prisma

stdout:

stderr: error: Existing installation found. Aborting (Use -f to overwrite).
error: Existing installation found. Aborting (Use -f to overwrite).


error: Failed to install Prisma

stdout:

stderr: error: Existing installation found. Aborting (Use -f to overwrite).
error: Existing installation found. Aborting (Use -f to overwrite).


Failed. Found 3 errors.
^CTerminate batch job (Y/N)? y
PS C:\Users\boreal\projects\OpenGB-RPCN> opengb dev
Nathan
Nathan2y ago
@Boreal <3 sorry, which issue are you having now?
Boreal <3
Boreal <32y ago
im having this issue i don't know where prisma is installed to
Nathan
Nathan2y ago
did you install deno as a windows program or in the linux container?
Boreal <3
Boreal <32y ago
i used winget install deno
Nathan
Nathan2y ago
ah i suspect that's the root issue of both of the issues you were having. can you try installing using the linux installer? https://docs.deno.com/runtime/manual/getting_started/installation/
Boreal <3
Boreal <32y ago
i dont get it, im on windows?
Nathan
Nathan2y ago
wsl tries to adapt windows binaries to work with linux (since wsl is emulating linux on windows) so you can install the native linux binary inside of wsl
Boreal <3
Boreal <32y ago
im not using wsl anymore, im using regular windows
Nathan
Nathan2y ago
ah ok i can probably reproduce this on my end. i'll give it another look, thx.
Boreal <3
Boreal <32y ago
ok i got it working now
Nathan
Nathan2y ago
sweeeet thanks for reporting, i'll add safeguard for linux. need to check what's going on with windows still.

Did you find this page helpful?