Topic: Bug Installing mdb4-react-ui-kit-pro-advanced

Alexis priority asked 1 year ago


Reproduction

Deinstallation of Node.js and clearing of all npm Caches, Installation of Node.js version 18.12.0

Download MDB4-REACT-UI-KIT-Pro-Advanced-5.2.0.zip from my Oders

Unzip and run npm install

Run npm start

Result

React start script exits with errors

ERROR IN CONSOLE

your-app@0.1.0 start react-scripts start

i 「wds」: Project is running at http://192.168.158.1/i 「wds」: webpack output is served fromi 「wds」: Content not from webpack is served from D:\Workspaces\phpstorm\portal\mdb4-react-ui-kit-pro-advanced\publici 「wds」: 404s will fallback to /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 (D:\Workspaces\phpstorm\portal\mdb4-react-ui-kit-pro-advanced\node_modules\webpack\lib\util\createHash.js:135:53) at NormalModule._initBuildHash (D:\Workspaces\phpstorm\portal\mdb4-react-ui-kit-pro-advanced\node_modules\webpack\lib\NormalModule.js:417:16) at handleParseError (D:\Workspaces\phpstorm\portal\mdb4-react-ui-kit-pro-advanced\node_modules\webpack\lib\NormalModule.js:471:10) at D:\Workspaces\phpstorm\portal\mdb4-react-ui-kit-pro-advanced\node_modules\webpack\lib\NormalModule.js:503:5 at D:\Workspaces\phpstorm\portal\mdb4-react-ui-kit-pro-advanced\node_modules\webpack\lib\NormalModule.js:358:12 at D:\Workspaces\phpstorm\portal\mdb4-react-ui-kit-pro-advanced\node_modules\loader-runner\lib\LoaderRunner.js:373:3 at iterateNormalLoaders (D:\Workspaces\phpstorm\portal\mdb4-react-ui-kit-pro-advanced\node_modules\loader-runner\lib\LoaderRunner.js:214:10) at iterateNormalLoaders (D:\Workspaces\phpstorm\portal\mdb4-react-ui-kit-pro-advanced\node_modules\loader-runner\lib\LoaderRunner.js:221:10)D:\Workspaces\phpstorm\portal\mdb4-react-ui-kit-pro-advanced\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 (D:\Workspaces\phpstorm\portal\mdb4-react-ui-kit-pro-advanced\node_modules\webpack\lib\util\createHash.js:135:53) at NormalModule._initBuildHash (D:\Workspaces\phpstorm\portal\mdb4-react-ui-kit-pro-advanced\node_modules\webpack\lib\NormalModule.js:417:16) at D:\Workspaces\phpstorm\portal\mdb4-react-ui-kit-pro-advanced\node_modules\webpack\lib\NormalModule.js:452:10 at D:\Workspaces\phpstorm\portal\mdb4-react-ui-kit-pro-advanced\node_modules\webpack\lib\NormalModule.js:323:13 at D:\Workspaces\phpstorm\portal\mdb4-react-ui-kit-pro-advanced\node_modules\loader-runner\lib\LoaderRunner.js:367:11 at D:\Workspaces\phpstorm\portal\mdb4-react-ui-kit-pro-advanced\node_modules\loader-runner\lib\LoaderRunner.js:233:18 at context.callback (D:\Workspaces\phpstorm\portal\mdb4-react-ui-kit-pro-advanced\node_modules\loader-runner\lib\LoaderRunner.js:111:13) at D:\Workspaces\phpstorm\portal\mdb4-react-ui-kit-pro-advanced\node_modules\babel-loader\lib\index.js:59: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

Process finished with exit code 1


Krzysztof Wilk staff commented 1 year ago

Hi!

Can you try downgrading the Node version to 16+ or using this start command in the package.json instead of the default one? "start": "react-scripts --openssl-legacy-provider start"



Please insert min. 20 characters.

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Opened

Specification of the issue

  • ForumUser: Priority
  • Premium support: Yes
  • Technology: MDB React
  • MDB Version: MDB5 5.0.0
  • Device: Desktop
  • Browser: N/A
  • OS: Windows 10
  • Provided sample code: No
  • Provided link: Yes