![](/img/trans.png)
[英]Error message "error:0308010C:digital envelope routines::unsupported"
[英]Running Angular Application: error:0308010C:digital envelope routines::unsupported
我在嘗試運行 angular 應用程序時發現了這個錯誤。 任何提示?
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
注意:我嘗試了以下方法:
An unhandled exception occurred: Cannot find module 'webpack/lib/ParserHelpers'
我通過改變來解決它:
node
版本為 16。webpack
版本為 4。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.