I found this error when I tried to run an angular application. Any tip?
Error: error:0308010C:digital envelope routines::unsupported
at new Hash (node:internal/crypto/hash:67:19)
at Object.createHash (node:crypto:135:10)
at module.exports
Error: Cannot find module '/home/isaac-wahba/Development/Personal/Udacity/Deployment/deployment-process-project/udagram/udagram-frontend/–openssl-legacy-provider'
at Function.Module._resolveFilename (node:internal/modules/cjs/loader:933:15)
at Function.Module._load (node:internal/modules/cjs/loader:778:27)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:77:12)
at node:internal/main/run_main_module:17:47 {
code: 'MODULE_NOT_FOUND',
requireStack: []
}
Node.js v17.4.0
Note: I tried the following:
- Changing the Webpack version to 4.39.2
- Changing it to 5.61.0.
- The result was
An unhandled exception occurred: Cannot find module 'webpack/lib/ParserHelpers'