-
Notifications
You must be signed in to change notification settings - Fork 144
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
getting this error while building react image (digital envelope routines::unsupported) #320
Comments
@Divyashet66 i dont think we have enough information to identify the issue here. Please help us by providing more information: Describe the bug If you have a general question about how to use buildpacks, we encourage you to open a discussion topic instead Additional context
Did this used to work? What language is your project primarily written in? Steps To Reproduce
Expected behavior Actual behavior If applicable, add screenshots / logs / error messages |
I used command pack build image_name --builder gcr.io/buildpacks/builder:google-22 while building the image, I got this error rror: error:0308010C:digital envelope routines::unsupported I think we are getting this error because while installing dependencies we have to do npm i --legacy-peer-deps, but in buildpacks it's not happening can you please provide a solution for this? and also how to mention the specific version of nodejs, so that buildpack uses that version of node to build the image, Thank you so much for your time |
I see these in the stack trace /layers/paketo-buildpacks_npm-install and it's possible that you're using a builder other than GCP builder. |
[builder] Error: error:0308010C:digital envelope routines::unsupported
[builder] at new Hash (node:internal/crypto/hash:69:19)
[builder] at Object.createHash (node:crypto:138:10)
[builder] at BulkUpdateDecorator.hashFactory
The text was updated successfully, but these errors were encountered: