Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error in prisma studio #1272

Open
oio3 opened this issue Sep 6, 2024 · 0 comments
Open

Error in prisma studio #1272

oio3 opened this issue Sep 6, 2024 · 0 comments
Labels
kind/bug A reported bug.

Comments

@oio3
Copy link

oio3 commented Sep 6, 2024

Bug description

Error starting Prisma Client: {
"message": "\n GeneratorError: Generator "/data/data/com.termux/files/home/hello-prisma/node_modules/prisma/prisma-client/generator-build/index.js" failed:\n error: expected absolute path: "--max-old-space-size=8096"\n at ChildProcess. (/data/data/com.termux/files/home/hello-prisma/node_modules/prisma/build/index.js:314:1731)\n at ChildProcess.emit (node:events:520:28)\n at ChildProcess._handle.onexit (node:internal/child_process:294:12)",
"stack": "\n GeneratorError: Generator "/data/data/com.termux/files/home/hello-prisma/node_modules/prisma/prisma-client/generator-build/index.js" failed:\n error: expected absolute path: "--max-old-space-size=8096"\n at ChildProcess. (/data/data/com.termux/files/home/hello-prisma/node_modules/prisma/build/index.js:314:1731)\n at ChildProcess.emit (node:events:520:28)\n at ChildProcess._handle.onexit (node:internal/child_process:294:12)"
}
Error: Error starting Prisma Client: {
"message": "\n GeneratorError: Generator "/data/data/com.termux/files/home/hello-prisma/node_modules/prisma/prisma-client/generator-build/index.js" failed:\n error: expected absolute path: "--max-old-space-size=8096"\n at ChildProcess. (/data/data/com.termux/files/home/hello-prisma/node_modules/prisma/build/index.js:314:1731)\n at ChildProcess.emit (node:events:520:28)\n at ChildProcess._handle.onexit (node:internal/child_process:294:12)",
"stack": "\n GeneratorError: Generator "/data/data/com.termux/files/home/hello-prisma/node_modules/prisma/prisma-client/generator-build/index.js" failed:\n error: expected absolute path: "--max-old-space-size=8096"\n at ChildProcess. (/data/data/com.termux/files/home/hello-prisma/node_modules/prisma/build/index.js:314:1731)\n at ChildProcess.emit (node:events:520:28)\n at ChildProcess._handle.onexit (node:internal/child_process:294:12)"
}
at qs.init (http://localhost:5555/assets/index.js:1:82961)

How to reproduce

Expected behavior

No response

Prisma information

Environment & setup

  • OS:
  • Browser:
  • Database:

Prisma logs

No response

@oio3 oio3 added the kind/bug A reported bug. label Sep 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug A reported bug.
Projects
None yet
Development

No branches or pull requests

1 participant