actions are failing to execute command "yarn prism:generate:prod".
I'm having the following error
Run yarn prisma:generate:prod
yarn prisma:generate:prod
shell: /bin/bash -e {0}
yarn run v1.22.10
$ PRISMA_BINARY_TARGET=rhel-openssl-1.0.x prisma generate
Environment variables loaded from .env
Prisma schema loaded from prisma/schema.prisma
Error: Unexpected token r in JSON at position 0
error Command failed with exit code 1.
actions are failing to execute command "yarn prism:generate:prod".
I'm having the following error
Run yarn prisma:generate:prod
yarn prisma:generate:prod
shell: /bin/bash -e {0}
yarn run v1.22.10
$ PRISMA_BINARY_TARGET=rhel-openssl-1.0.x prisma generate
Environment variables loaded from .env
Prisma schema loaded from prisma/schema.prisma
Error: Unexpected token r in JSON at position 0
error Command failed with exit code 1.
Please help me
Hello @macbird !
I have also encountered this error between Prisma versions 2.23 to 2.25.
If you are on Prisma version 2.26, you can do something like this:
Hope it works for you!
Here's the related issue on Prisma GitHub: github.com/prisma/prisma/issues/8112