You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Steps:
After cloning the repo, and successfully resolving the dependency errors, write cd interface, then npm install to install react packages
After that run make rb (Run this where your makefile is present. For this project, it is in the root directory)
After that you will get the errors below
Below are the error details
(.myvenv) ammar@DESKTOP-T7MAB6U:/mnt/f/Ammar/Semester 7/NIS/Project/Source Code/OpenUBA$ make rb
cd interface/ ; npm run build
> [email protected] build
> react-scripts build
Creating an optimized production build...
Error: error:0308010C:digital envelope routines::unsupported
at new Hash (node:internal/crypto/hash:79:19)
at Object.createHash (node:crypto:139:10)
at module.exports (F:\Ammar\Semester 7\NIS\Project\Source Code\OpenUBA\interface\node_modules\webpack\lib\util\createHash.js:135:53)
at NormalModule._initBuildHash (F:\Ammar\Semester 7\NIS\Project\Source Code\OpenUBA\interface\node_modules\webpack\lib\NormalModule.js:417:16)
at handleParseError (F:\Ammar\Semester 7\NIS\Project\Source Code\OpenUBA\interface\node_modules\webpack\lib\NormalModule.js:471:10)
at F:\Ammar\Semester 7\NIS\Project\Source Code\OpenUBA\interface\node_modules\webpack\lib\NormalModule.js:503:5
at F:\Ammar\Semester 7\NIS\Project\Source Code\OpenUBA\interface\node_modules\webpack\lib\NormalModule.js:358:12
at F:\Ammar\Semester 7\NIS\Project\Source Code\OpenUBA\interface\node_modules\loader-runner\lib\LoaderRunner.js:373:3
at iterateNormalLoaders (F:\Ammar\Semester 7\NIS\Project\Source Code\OpenUBA\interface\node_modules\loader-runner\lib\LoaderRunner.js:214:10)
at iterateNormalLoaders (F:\Ammar\Semester 7\NIS\Project\Source Code\OpenUBA\interface\node_modules\loader-runner\lib\LoaderRunner.js:221:10)
F:\Ammar\Semester 7\NIS\Project\Source Code\OpenUBA\interface\node_modules\react-scripts\scripts\build.js:19
throw err;
^
Error: error:0308010C:digital envelope routines::unsupported
at new Hash (node:internal/crypto/hash:79:19)
at Object.createHash (node:crypto:139:10)
at module.exports (F:\Ammar\Semester 7\NIS\Project\Source Code\OpenUBA\interface\node_modules\webpack\lib\util\createHash.js:135:53)
at NormalModule._initBuildHash (F:\Ammar\Semester 7\NIS\Project\Source Code\OpenUBA\interface\node_modules\webpack\lib\NormalModule.js:417:16)
at F:\Ammar\Semester 7\NIS\Project\Source Code\OpenUBA\interface\node_modules\webpack\lib\NormalModule.js:452:10
at F:\Ammar\Semester 7\NIS\Project\Source Code\OpenUBA\interface\node_modules\webpack\lib\NormalModule.js:323:13
at F:\Ammar\Semester 7\NIS\Project\Source Code\OpenUBA\interface\node_modules\loader-runner\lib\LoaderRunner.js:367:11
at F:\Ammar\Semester 7\NIS\Project\Source Code\OpenUBA\interface\node_modules\loader-runner\lib\LoaderRunner.js:233:18
at context.callback (F:\Ammar\Semester 7\NIS\Project\Source Code\OpenUBA\interface\node_modules\loader-runner\lib\LoaderRunner.js:111:13)
at F:\Ammar\Semester 7\NIS\Project\Source Code\OpenUBA\interface\node_modules\babel-loader\lib\index.js:59:103 {
opensslErrorStack: [
'error:03000086:digital envelope routines::initialization error',
'error:0308010C:digital envelope routines::unsupported'
],
library: 'digital envelope routines',
reason: 'unsupported',
code: 'ERR_OSSL_EVP_UNSUPPORTED'
}
Node.js v22.2.0
make: *** [Makefile:35: rb] Error 1
If anyone knows the solution for this, please let me know.
The text was updated successfully, but these errors were encountered:
When I try to build the react app, I get the error
Error: 0308010C:digital envelope routines::unsupported
.Environment:
OS: WSL Ubuntu 22.04.5 LTS
Python version: Python 3.7.17
Steps:
After cloning the repo, and successfully resolving the dependency errors, write
cd interface
, thennpm install
to install react packagesAfter that run
make rb
(Run this where your makefile is present. For this project, it is in the root directory)After that you will get the errors below
Below are the error details
If anyone knows the solution for this, please let me know.
The text was updated successfully, but these errors were encountered: