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

Heroku button no longer works: "Could not find prisma-fmt binary" #8

Open
molomby opened this issue Nov 8, 2022 · 1 comment
Open

Comments

@molomby
Copy link
Member

molomby commented Nov 8, 2022

-----> Build
       Running build (yarn)
       yarn run v1.22.19
       $ keystone build && keystone prisma migrate deploy
Browserslist: caniuse-lite is outdated. Please run:
  npx browserslist@latest --update-db
  Why you should do it regularly: https://github.com/browserslist/browserslist#browsers-data-updating
       Error: Could not find prisma-fmt binary. Searched in /tmp/build_5daef6db/node_modules/@prisma/sdk/prisma-fmt-debian-openssl-3.0.x and /tmp/build_5daef6db/node_modules/@prisma/prisma-fmt-debian-openssl-3.0.x
           at resolveBinary (/tmp/build_5daef6db/node_modules/@prisma/sdk/dist/resolveBinary.js:92:9)
           at Object.formatSchema (/tmp/build_5daef6db/node_modules/@prisma/sdk/dist/engine-commands/formatSchema.js:41:25)
           at getCommittedArtifacts (/tmp/build_5daef6db/node_modules/@keystone-6/core/dist/artifacts-4c43950a.cjs.prod.js:416:13)
           at Object.validateCommittedArtifacts (/tmp/build_5daef6db/node_modules/@keystone-6/core/dist/artifacts-4c43950a.cjs.prod.js:435:21)
           at Object.build (/tmp/build_5daef6db/node_modules/@keystone-6/core/scripts/dist/keystone-6-core-scripts.cjs.prod.js:608:3)
error Command failed with exit code 1.
       info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
-----> Build failed
@molomby
Copy link
Member Author

molomby commented Nov 8, 2022

Seems to fail consistently; 3 for 3 attempts.

Possibly bumping the Keystone core version past 2.1.0 would help?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant