I have installed storybook in my project and now when I am trying to run the storybook using npm run storybook
I am getting this error. I Have searched the whole web and also updated my react-scripts, Node JS and VS Code to latest versions after reading some articles on web but the error is still not resolved.
Ignoring cached manager due to change in manager config
i 「wdm」: wait until bundle finished:
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)
at module.exports (F:\Masai\snehil_agrahari_fw21_1171\unit-5\sprint-3\day-4\you\LIVE\story-book-demo\node_modules\webpack\lib\util\createHash.js:135:53)
at NormalModule._initBuildHash (F:\Masai\snehil_agrahari_fw21_1171\unit-5\sprint-3\day-4\you\LIVE\story-book-demo\node_modules\webpack\lib\NormalModule.js:417:16)
at handleParseError (F:\Masai\snehil_agrahari_fw21_1171\unit-5\sprint-3\day-4\you\LIVE\story-book-demo\node_modules\webpack\lib\NormalModule.js:471:10)
at F:\Masai\snehil_agrahari_fw21_1171\unit-5\sprint-3\day-4\you\LIVE\story-book-demo\node_modules\webpack\lib\NormalModule.js:503:5
at F:\Masai\snehil_agrahari_fw21_1171\unit-5\sprint-3\day-4\you\LIVE\story-book-demo\node_modules\webpack\lib\NormalModule.js:358:12
at F:\Masai\snehil_agrahari_fw21_1171\unit-5\sprint-3\day-4\you\LIVE\story-book-demo\node_modules\loader-runner\lib\LoaderRunner.js:373:3
at iterateNormalLoaders (F:\Masai\snehil_agrahari_fw21_1171\unit-5\sprint-3\day-4\you\LIVE\story-book-demo\node_modules\loader-runner\lib\LoaderRunner.js:214:10)
at Array.<anonymous> (F:\Masai\snehil_agrahari_fw21_1171\unit-5\sprint-3\day-4\you\LIVE\story-book-demo\node_modules\loader-runner\lib\LoaderRunner.js:205:4) {
opensslErrorStack: [ 'error:03000086:digital envelope routines::initialization error' ],
library: 'digital envelope routines',
reason: 'unsupported',
code: 'ERR_OSSL_EVP_UNSUPPORTED'
}
Can you please mention how to fix this error