cari

Rumah  >  Soal Jawab  >  teks badan

Mesej ralat "Ralat: 0308010C: Rutin sampul surat digital:: tidak disokong"

<p>我创建了默认的 IntelliJ IDEA React 项目并得到了这个:</p> <pre class="brush:none;toolbar:false;">Ralat: error:0308010C:rutin sampul surat digital::unsupported di Hash baharu (node:internal/crypto/hash:67:19) di Object.createHash (node:crypto:130:10) di module.exports (/Users/user/Programming Documents/WebServer/untitled/node_modules/webpack/lib/util/createHash.js:135:53) di NormalModule._initBuildHash (/Users/user/Programming Documents/WebServer/untitled/node_modules/webpack/lib/NormalModule.js:417:16) di handleParseError (/Users/user/Programming Documents/WebServer/untitled/node_modules/webpack/lib/NormalModule.js:471:10) di /Users/user/Programming Documents/WebServer/untitled/node_modules/webpack/lib/NormalModule.js:503:5 di /Users/user/Programming Documents/WebServer/untitled/node_modules/webpack/lib/NormalModule.js:358:12 di /Users/user/Programming Documents/WebServer/untitled/node_modules/loader-runner/lib/LoaderRunner.js:373:3 di iterateNormalLoaders (/Users/user/Programming Documents/WebServer/untitled/node_modules/loader-runner/lib/LoaderRunner.js:214:10) di iterateNormalLoaders (/Users/user/Programming Documents/WebServer/untitled/node_modules/loader-runner/lib/LoaderRunner.js:221:10) /Users/user/Programming Documents/WebServer/untitled/node_modules/react-scripts/scripts/start.js:19 membuang err; ^ </pra> <p>这似乎是最近出现的问题 - <em>pek web 4 天前遇到了这个问题,并且仍在天前遇到了这个问题,并且仍在天前遇到了这个问题,并且仍冨天前遇到了这个问题,并且仍在天。
P粉680487967P粉680487967488 hari yang lalu859

membalas semua(2)saya akan balas

  • P粉864872812

    P粉8648728122023-08-24 09:09:13

    Anda boleh mencuba salah satu daripada yang berikut:

    <强>1. Turun taraf kepada Node.js v16.

    <强>2. Dayakan penyedia OpenSSL lama.

    Pada seperti Unix (Linux, macOS, Git bash, dll.):

    export NODE_OPTIONS=--openssl-legacy-provider
    

    Dalam gesaan arahan Windows:

    set NODE_OPTIONS=--openssl-legacy-provider

    Pada PowerShell:

    $env:NODE_OPTIONS = "--openssl-legacy-provider"

    Rujukan

    balas
    0
  • P粉573809727

    P粉5738097272023-08-24 00:48:17

    Dalam pakej anda.json: tukar baris ini

    "start": "react-scripts start"
    

    kepada

    "start": "react-scripts --openssl-legacy-provider start"
    

    balas
    0
  • Batalbalas