Hi,
I’m getting this error while trying to open a localhost server through VSC:
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 (C:\Users\Documents\GitHub\Jammming\node_modules\webpack\lib\util\createHash.js:90:53)
at NormalModule._initBuildHash (C:\Users\Documents\GitHub\Jammming\node_modules\webpack\lib\NormalModule.js:386:16)
at handleParseError (C:\Users\Documents\GitHub\Jammming\node_modules\webpack\lib\NormalModule.js:434:10)
at C:\Users\Documents\GitHub\Jammming\node_modules\webpack\lib\NormalModule.js:466:5
at C:\Users\Documents\GitHub\Jammming\node_modules\webpack\lib\NormalModule.js:327:12
at C:\Users\Documents\GitHub\Jammming\node_modules\loader-runner\lib\LoaderRunner.js:373:3
at iterateNormalLoaders (C:\Users\Documents\GitHub\Jammming\node_modules\loader-runner\lib\LoaderRunner.js:214:10)
at iterateNormalLoaders (C:\Users\Documents\GitHub\Jammming\node_modules\loader-runner\lib\LoaderRunner.js:221:10)
at C:\Users\Documents\GitHub\Jammming\node_modules\loader-runner\lib\LoaderRunner.js:236:3
at runSyncOrAsync (C:\Users\Documents\GitHub\Jammming\node_modules\loader-runner\lib\LoaderRunner.js:130:11)
at iterateNormalLoaders (C:\Users\Documents\GitHub\Jammming\node_modules\loader-runner\lib\LoaderRunner.js:232:2)
at Array. (C:\Users\Documents\GitHub\Jammming\node_modules\loader-runner\lib\LoaderRunner.js:205:4)
at Storage.finished (C:\Users\Documents\GitHub\Jammming\node_modules\enhanced-resolve\lib\CachedInputFileSystem.js:55:16)
at C:\Users\Documents\GitHub\Jammming\node_modules\enhanced-resolve\lib\CachedInputFileSystem.js:91:9
C:\Users\Documents\GitHub\Jammming\node_modules\react-scripts\scripts\start.js:19
throw err;
^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 (C:\Users\Documents\GitHub\Jammming\node_modules\webpack\lib\util\createHash.js:90:53)
at NormalModule._initBuildHash (C:\Users\Documents\GitHub\Jammming\node_modules\webpack\lib\NormalModule.js:386:16)
at C:\Users\Documents\GitHub\Jammming\node_modules\webpack\lib\NormalModule.js:418:10
at C:\Users\Documents\GitHub\Jammming\node_modules\webpack\lib\NormalModule.js:293:13
at C:\Users\Documents\GitHub\Jammming\node_modules\loader-runner\lib\LoaderRunner.js:367:11
at C:\Users\Documents\GitHub\Jammming\node_modules\loader-runner\lib\LoaderRunner.js:233:18
at context.callback (C:\Users\Documents\GitHub\Jammming\node_modules\loader-runner\lib\LoaderRunner.js:111:13)
at C:\Users\Documents\GitHub\Jammming\node_modules\babel-loader\lib\index.js:51:103 {
opensslErrorStack: [ ‘error:03000086:digital envelope routines::initialization error’ ],
library: ‘digital envelope routines’,
reason: ‘unsupported’,
code: ‘ERR_OSSL_EVP_UNSUPPORTED’
}
Since the terminal issued tons of warnings for this project, I ran npm audit fix --force, but it didn’t solve the problem. Is it a problem with the starting files (it seems they’re deprecated and Codecademy should update them)? Or if it’s a problem on my side, how can I fix this?
Additionally, Jammming proved to be very difficult and frustrating to me. I had the impression I followed the instructions thoroughly, but after surge-sh deployment it turned out the whole page is totally broken. I don’t have any motivation to continue this project… Should I try, or move on to other projects? Any word of motivation for me? ;D
Thank you in advance,
xx Sue