Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Running Node.js v22.14.0 and webpack I'm getting Error: Digest method not supported

Antony Kancidrowski
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
April 23, 2025
Although I'm using sha256 for the hashing algorithm at the end of my webpack.config.js
I get an issue with unsupported Digest see below, any help would be appreciated:
node:internal/crypto/hash:79
this[kHandle] = new _Hash(algorithm, xofLen, algorithmId, getHashCache());
^

Error: Digest method not supported
at new Hash (node:internal/crypto/hash:79:19)
at Object.createHash (node:crypto:139:10)
at BulkUpdateDecorator.hashFactory (/opt/atlassian/pipelines/agent/build/node_modules/webpack/lib/util/createHash.js:145:18)
at BulkUpdateDecorator.update (/opt/atlassian/pipelines/agent/build/node_modules/webpack/lib/util/createHash.js:46:50)
at RawSource.updateHash (/opt/atlassian/pipelines/agent/build/node_modules/webpack/node_modules/webpack-sources/lib/RawSource.js:64:8)
at NormalModule._initBuildHash (/opt/atlassian/pipelines/agent/build/node_modules/webpack/lib/NormalModule.js:868:17)
at handleParseResult (/opt/atlassian/pipelines/agent/build/node_modules/webpack/lib/NormalModule.js:934:10)
at /opt/atlassian/pipelines/agent/build/node_modules/webpack/lib/NormalModule.js:1026:4
at processResult (/opt/atlassian/pipelines/agent/build/node_modules/webpack/lib/NormalModule.js:743:11)
at /opt/atlassian/pipelines/agent/build/node_modules/webpack/lib/NormalModule.js:807:5

1 answer

0 votes
Phil C
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
April 24, 2025

Hi @Antony Kancidrowski 

Welcome to the community!

Thank you for reaching out with your question. It looks like you're getting this error on a pipeline build. To ensure we can provide you with the best assistance on this topic, I will create a support ticket for your issue. This will allow us to allocate the necessary time and resources to work with you effectively.

Please keep an eye out for a ticket.

- Phil 

Antony Kancidrowski
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
April 25, 2025

Thanks Phil, that is correct I'm conversing with Suyog, one of your colleagues  on the ticket you raised.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
PERMISSIONS LEVEL
Product Admin Site Admin
TAGS
AUG Leaders

Atlassian Community Events