it-kamasutra / react-way-of-samurai

596 stars 345 forks source link

opensslErrorStack: [ 'error:03000086:digital envelope routines::initialization error' ] #32

Open dmitrybv opened 2 years ago

dmitrybv commented 2 years ago

Добрый день. Установлен WebStorm 2022.2.3, Node.js v18.12.0 Скачал https://github.com/it-kamasutra : Commit: 26: dialogs structure refactoring; UI-BLL Скачал как архив и распаковал. Открыл в WebStorm

Запустил WebStorm, Открыл папку В терминале запустил

nmp install
nmp start

Не запускается. Браузер показывает.

http://localhost:3000/
This site can’t be reached
localhost refused to connect.

nmp install: log

PS C:\DelphiStuff\_WebTech\WebStorm\03.React-way-of-samurai\26-dialogs-structure-refactoring> npm install
up to date, audited 1692 packages in 3s
80 packages are looking for funding    
  run `npm fund` for details
73 vulnerabilities (11 low, 20 moderate, 36 high, 6 critical)
To address issues that do not require attention, run:        
  npm audit fix
To address all issues (including breaking changes), run:     
  npm audit fix --force
Run `npm audit` for details.

npm start log

Starting the development server...

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:\DelphiStuff\_WebTech\WebStorm\03.React-way-of-samurai\26-dialogs-structure-refactoring\node_modules\webpack\lib\util\createHash.js:90:53)
    at NormalModule._initBuildHash (C:\DelphiStuff\_WebTech\WebStorm\03.React-way-of-samurai\26-dialogs-structure-refactoring\node_modules\webpack\lib\NormalModule.js:386:16)
    at handleParseError (C:\DelphiStuff\_WebTech\WebStorm\03.React-way-of-samurai\26-dialogs-structure-refactoring\node_modules\webpack\lib\NormalModule.js:434:10)
    at C:\DelphiStuff\_WebTech\WebStorm\03.React-way-of-samurai\26-dialogs-structure-refactoring\node_modules\webpack\lib\NormalModule.js:466:5
    at C:\DelphiStuff\_WebTech\WebStorm\03.React-way-of-samurai\26-dialogs-structure-refactoring\node_modules\webpack\lib\NormalModule.js:327:12
    at C:\DelphiStuff\_WebTech\WebStorm\03.React-way-of-samurai\26-dialogs-structure-refactoring\node_modules\loader-runner\lib\LoaderRunner.js:373:3
    at iterateNormalLoaders (C:\DelphiStuff\_WebTech\WebStorm\03.React-way-of-samurai\26-dialogs-structure-refactoring\node_modules\loader-runner\lib\LoaderRunner.js:214:10) 
    at iterateNormalLoaders (C:\DelphiStuff\_WebTech\WebStorm\03.React-way-of-samurai\26-dialogs-structure-refactoring\node_modules\loader-runner\lib\LoaderRunner.js:221:10) 
C:\DelphiStuff\_WebTech\WebStorm\03.React-way-of-samurai\26-dialogs-structure-refactoring\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:\DelphiStuff\_WebTech\WebStorm\03.React-way-of-samurai\26-dialogs-structure-refactoring\node_modules\webpack\lib\util\createHash.js:90:53)
    at NormalModule._initBuildHash (C:\DelphiStuff\_WebTech\WebStorm\03.React-way-of-samurai\26-dialogs-structure-refactoring\node_modules\webpack\lib\NormalModule.js:386:16)
    at C:\DelphiStuff\_WebTech\WebStorm\03.React-way-of-samurai\26-dialogs-structure-refactoring\node_modules\webpack\lib\NormalModule.js:418:10
    at C:\DelphiStuff\_WebTech\WebStorm\03.React-way-of-samurai\26-dialogs-structure-refactoring\node_modules\webpack\lib\NormalModule.js:293:13
    at C:\DelphiStuff\_WebTech\WebStorm\03.React-way-of-samurai\26-dialogs-structure-refactoring\node_modules\loader-runner\lib\LoaderRunner.js:367:11
    at C:\DelphiStuff\_WebTech\WebStorm\03.React-way-of-samurai\26-dialogs-structure-refactoring\node_modules\loader-runner\lib\LoaderRunner.js:233:18
    at context.callback (C:\DelphiStuff\_WebTech\WebStorm\03.React-way-of-samurai\26-dialogs-structure-refactoring\node_modules\loader-runner\lib\LoaderRunner.js:111:13)
    at C:\DelphiStuff\_WebTech\WebStorm\03.React-way-of-samurai\26-dialogs-structure-refactoring\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'
}

Node.js v18.12.0
PS C:\DelphiStuff\_WebTech\WebStorm\03.React-way-of-samurai\26-dialogs-structure-refactoring>