Error: error:0308010C:digital envelope routines::unsupported #218
JlrekChen
started this conversation in
Node.js Team
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi all,
I tried to run the pack command as below to create an image:
pack build ${{env.IMAGE_NAME}}:${{env.IMAGE_TAG}} --path ./ --builder paketobuildpacks/builder:base
--buildpack paketo-buildpacks/web-servers
--env BP_NODE_RUN_SCRIPTS=build
--env BP_WEB_SERVER=nginx
--env BP_WEB_SERVER_ROOT=dist/public
--env BP_WEB_SERVER_ENABLE_PUSH_STATE=true
--env PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=false
--env HTTP_PROXY=http://internet.xxx.com:83 --env HTTPS_PROXY=http://internet.xxx.com:83
It got the error below when reaching the point "Paketo Buildpack for Node Run Script":
Paketo Buildpack for Node Run Script 1.0.10
Executing build process
Running 'npm run build'
> caas-xxxxxxx-ui-xxxxxx@8.0.2 build
> ng build --configuration=development
Browserslist: caniuse-lite is outdated. Please run next command
npm update
node:internal/crypto/hash:71
this[kHandle] = new _Hash(algorithm, xofLen);
Error: error:0308010C:digital envelope routines::unsupported
at new Hash (node:internal/crypto/hash:71:19)
at Object.createHash (node:crypto:133:10)
. . . . . . . . .
What is the problem with it? Any idea how to fix it?
Thanks
-Jason
Beta Was this translation helpful? Give feedback.
All reactions