国产 无码 综合区,色欲AV无码国产永久播放,无码天堂亚洲国产AV,国产日韩欧美女同一区二区

npm run serve出現(xiàn)錯(cuò)誤 error:0308010C:digital envelope routines::unsupported

這篇具有很好參考價(jià)值的文章主要介紹了npm run serve出現(xiàn)錯(cuò)誤 error:0308010C:digital envelope routines::unsupported。希望對(duì)大家有所幫助。如果存在錯(cuò)誤或未考慮完全的地方,請(qǐng)大家不吝賜教,您也可以點(diǎn)擊"舉報(bào)違法"按鈕提交疑問。

因?yàn)樾聯(lián)Q了電腦,重新安裝vs code和 nodejs 跑前端項(xiàng)目,npm run install之后,vs code命令行出現(xiàn)錯(cuò)誤:error: error:0308010C:digital envelope routines::unsupported

10% building 2/4 modules 2 active ...node_modules\webpack\hot\dev-server.js E
rror: 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 (D:\workstation\adautotest_workstation\adautotest_web\node_modules\webpack\lib\util\createHash.js:135:53)
? ? at NormalModule._initBuildHash (D:\workstation\adautotest_workstation\adautotest_web\node_modules\webpack\lib\NormalModule.js:417:16)
? ? at handleParseError (D:\workstation\adautotest_workstation\adautotest_web\node_modules\webpack\lib\NormalModule.js:471:10)
? ? at D:\workstation\adautotest_workstation\adautotest_web\node_modules\webpack\lib\NormalModule.js:503:5
? ? at D:\workstation\adautotest_workstation\adautotest_web\node_modules\webpack\lib\NormalModule.js:358:12
? ? at D:\workstation\adautotest_workstation\adautotest_web\node_modules\loader-runner\lib\LoaderRunner.js:373:3
? ? at iterateNormalLoaders (D:\workstation\adautotest_workstation\adautotest_web\node_modules\loader-runner\lib\LoaderRunner.js:214:10)
? ? at iterateNormalLoaders (D:\workstation\adautotest_workstation\adautotest_web\node_modules\loader-runner\lib\LoaderRunner.js:221:10)
? ? at D:\workstation\adautotest_workstation\adautotest_web\node_modules\loader-runner\lib\LoaderRunner.js:236:3
? ? at runSyncOrAsync (D:\workstation\adautotest_workstation\adautotest_web\node_modules\loader-runner\lib\LoaderRunner.js:130:11)
? ? at iterateNormalLoaders (D:\workstation\adautotest_workstation\adautotest_web\node_modules\loader-runner\lib\LoaderRunner.js:232:2)
? ? at Array.<anonymous> (D:\workstation\adautotest_workstation\adautotest_web\node_modules\loader-runner\lib\LoaderRunner.js:205:4)
? ? at Storage.finished (D:\workstation\adautotest_workstation\adautotest_web\node_modules\enhanced-resolve\lib\CachedInputFileSystem.js:55:16)
? ? at D:\workstation\adautotest_workstation\adautotest_web\node_modules\enhanced-resolve\lib\CachedInputFileSystem.js:91:9
10% building 2/5 modules 3 active ...workstation\adautotest_web\src\main.js n
ode:internal/crypto/hash:71
? this[kHandle] = new _Hash(algorithm, xofLen);

網(wǎng)上查了,可能是nodejs版本過高導(dǎo)致的錯(cuò)誤:

解決辦法:

在命令行跑下列命令:

set NODE_OPTIONS=--openssl-legacy-provider

再次運(yùn)行:npm run serve 成功?文章來源地址http://www.zghlxwxcb.cn/news/detail-566647.html

到了這里,關(guān)于npm run serve出現(xiàn)錯(cuò)誤 error:0308010C:digital envelope routines::unsupported的文章就介紹完了。如果您還想了解更多內(nèi)容,請(qǐng)?jiān)谟疑辖撬阉鱐OY模板網(wǎng)以前的文章或繼續(xù)瀏覽下面的相關(guān)文章,希望大家以后多多支持TOY模板網(wǎng)!

本文來自互聯(lián)網(wǎng)用戶投稿,該文觀點(diǎn)僅代表作者本人,不代表本站立場。本站僅提供信息存儲(chǔ)空間服務(wù),不擁有所有權(quán),不承擔(dān)相關(guān)法律責(zé)任。如若轉(zhuǎn)載,請(qǐng)注明出處: 如若內(nèi)容造成侵權(quán)/違法違規(guī)/事實(shí)不符,請(qǐng)點(diǎn)擊違法舉報(bào)進(jìn)行投訴反饋,一經(jīng)查實(shí),立即刪除!

領(lǐng)支付寶紅包贊助服務(wù)器費(fèi)用

相關(guān)文章

  • 錯(cuò)誤解決Error: error:0308010C:digital envelope routines::unsupported

    前端項(xiàng)目npm run serve報(bào)錯(cuò), 問題原因: 查了下原因,主要是 nodeJs V17 版本發(fā)布了 OpenSSL3.0 對(duì)算法和秘鑰大小增加了更為嚴(yán)格的限制,nodeJs v17 之前版本沒影響,但 V17 和之后版本會(huì)出現(xiàn)這個(gè)錯(cuò)誤。 我的node版本是v18.12.1 解決方式(僅 windows): 在 package.json 的 scripts 中新增 SET N

    2024年02月11日
    瀏覽(31)
  • IDEA中Node.js環(huán)境下npm報(bào)錯(cuò)Error:0308010C:digital envelope routines:unsupported

    IDEA中Node.js環(huán)境下npm報(bào)錯(cuò)Error:0308010C:digital envelope routines:unsupported

    注意:如果需要?jiǎng)討B(tài)靈活管理Node.js的版本 ,或者要切換Node.js的版本,不想卸載重裝的話,可以查看我這篇最新的博文: 安裝配置nvm-windows對(duì)Node.js與npm進(jìn)行版本控制。這篇文章也有部分內(nèi)容與本篇重復(fù)。 Node.js 是一個(gè)基于 Chrome V8 引擎的 JavaScript 運(yùn)行環(huán)境。 Node.js 是一個(gè)開源的

    2024年02月04日
    瀏覽(28)
  • vue2/3 - 解決報(bào)錯(cuò) error:0308010C:digital envelope routines::unsupported(vue項(xiàng)目運(yùn)行run或打包build時(shí)瀏覽器控制臺(tái)報(bào)錯(cuò),詳細(xì)解決

    vue2/3 - 解決報(bào)錯(cuò) error:0308010C:digital envelope routines::unsupported(vue項(xiàng)目運(yùn)行run或打包build時(shí)瀏覽器控制臺(tái)報(bào)錯(cuò),詳細(xì)解決

    在vue2、vue3項(xiàng)目中,報(bào)錯(cuò):error:0308010C:digital envelope routines::unsupported。vue運(yùn)行編譯時(shí)、上線打包后出現(xiàn)大概率會(huì)出現(xiàn)這個(gè)錯(cuò)誤,很奇怪的報(bào)錯(cuò)。 其他解決教程幾乎無效,本博客可完美搞定這個(gè)問題。 首先,這個(gè)錯(cuò)誤

    2024年04月23日
    瀏覽(33)
  • Error: error:0308010C:digital envelope routines::unsupported

    Error: error:0308010C:digital envelope routines::unsupported

    vscode運(yùn)行react時(shí)報(bào)錯(cuò) opensslErrorStack: [ ‘error:03000086:digital envelope routines::initialization error’ ], library: ‘digital envelope routines’, reason: ‘unsupported’, code: ‘ERR_OSSL_EVP_UNSUPPORTED’ 什么原因?qū)е?“0308010c:digital envelope routines::unsupported” 的錯(cuò)誤? 你遇到這個(gè)錯(cuò)誤的可能原因主要有兩個(gè)

    2024年02月16日
    瀏覽(18)
  • error:0308010C:digital envelope routines::unsupported

    error:0308010C:digital envelope routines::unsupported

    使用 npm run dev 或者 yarn run dev 時(shí)報(bào)錯(cuò):error:0308010C:digital envelope routines::unsupported nodejs 版本為 18.12.1 Google 了一下發(fā)現(xiàn)是 Node JS 17 的 BUG,相關(guān) ISSUE 也給出了解決辦法,就是修改package.json,在相關(guān)構(gòu)建命令之前加入 set NODE_OPTIONS=--openssl-legacy-provider 例如,如果你使用的命令是 np

    2024年02月11日
    瀏覽(28)
  • 解決:Error: error:0308010C:digital envelope routines::unsupported

    原因 出現(xiàn)這個(gè)錯(cuò)誤是因?yàn)?node.js V17版本中最近發(fā)布的OpenSSL3.0, 而OpenSSL3.0對(duì)允許算法和密鑰大小增加了嚴(yán)格的限制,可能會(huì)對(duì)生態(tài)系統(tǒng)造成一些影響。 在node.js V17以前一些可以正常運(yùn)行的的應(yīng)用程序,但是在 V17 版本可能會(huì)拋出這個(gè)異常。 碰到這個(gè)問題后,查到了這篇文章,只

    2024年01月25日
    瀏覽(22)
  • 已解決error:0308010C:digital envelope routines::unsupported

    已解決error:0308010C:digital envelope routines::unsupported error:0308010C:digital envelope routines::unsupported 針對(duì)錯(cuò)誤碼 “error:0308010C:digital envelope routines::unsupported”,這是一個(gè)與數(shù)字信封操作有關(guān)的錯(cuò)誤。 下滑查看解決方法 它通常發(fā)生在使用 OpenSSL 庫進(jìn)行加密或解密操作時(shí),可能是由于使用

    2024年02月08日
    瀏覽(46)
  • Vue項(xiàng)目:Error: error:0308010C:digital envelope routines::unsupported

    Vue2+ElementUI腳手架項(xiàng)目,啟動(dòng)的時(shí)候報(bào)下列錯(cuò)誤 第一感覺就是node版本的問題,因?yàn)楸镜豱ode版本用的算是比較新的,用的18.8.2版本。經(jīng)過查詢相關(guān)資料,發(fā)現(xiàn)是node17以后OpenSSL3.0對(duì)允許算法和密鑰大小增加了嚴(yán)格的限制,由此造成的影響。既然找到了問題解決辦法無外乎使用低

    2024年03月21日
    瀏覽(38)
  • Vue 報(bào)錯(cuò)Error: error:0308010C:digital envelope routines::unsupported

    Vue 報(bào)錯(cuò)Error: error:0308010C:digital envelope routines::unsupported

    Vue 報(bào)錯(cuò)Error: error:0308010C:digital envelope routines::unsupported 背景 我們經(jīng)常在github上下載工程,但是有的工程有可能是2017,2016年或者更之前,導(dǎo)致工程的node版本,和自己電腦下載的node版本不兼容,導(dǎo)致報(bào)錯(cuò)。 報(bào)錯(cuò)原因 出現(xiàn)這個(gè)錯(cuò)誤是因?yàn)?node.js 版本最近發(fā)布的OpenSSL3.0, 而OpenSSL3

    2024年02月11日
    瀏覽(23)
  • Vue 報(bào)錯(cuò) error:0308010C:digital envelope routines::unsupported

    Vue 報(bào)錯(cuò) error:0308010C:digital envelope routines::unsupported

    Vue 報(bào)錯(cuò)error:0308010C:digital envelope routines::unsupported 出現(xiàn)這個(gè)錯(cuò)誤是因?yàn)?node.js V17版本中最近發(fā)布的OpenSSL3.0, 而OpenSSL3.0對(duì)允許算法和密鑰大小增加了嚴(yán)格的限制,可能會(huì)對(duì)生態(tài)系統(tǒng)造成一些影響. 方法1 打開終端(按健win+R彈出窗口,鍵盤輸入cmd,然后敲回車)并按照說明粘貼這些

    2024年02月09日
    瀏覽(34)

覺得文章有用就打賞一下文章作者

支付寶掃一掃打賞

博客贊助

微信掃一掃打賞

請(qǐng)作者喝杯咖啡吧~博客贊助

支付寶掃一掃領(lǐng)取紅包,優(yōu)惠每天領(lǐng)

二維碼1

領(lǐng)取紅包

二維碼2

領(lǐng)紅包