angular2-webpack-starter-gentelella
angular2-webpack-starter-gentelella copied to clipboard
[Doubt] - Project does not execute
I'm getting the following error, after downloading the project, it appears to be giving an error in the OpenSSL library.
** Angular Live Development Server is listening on localhost:4200, open your browser on http://localhost:4200/ **
10% building modules 6/6 modules 0 activei 「wds」: Project is running at http://localhost:4200/
i 「wds」: webpack output is served from /
i 「wds」: 404s will fallback to //index.html
10% building modules 6/8 modules 2 active …server\client\index.js?http://localhostnode:internal/crypto/hash:69
this[kHandle] = new _Hash(algorithm, xofLen);
^
Error: error:0308010C:digital envelope routines::unsupported
at new Hash (node:internal/crypto/hash:69:19)
at Object.createHash (node:crypto:133:10)
at module.exports (C:\Users\anderson\Desktop\controlefuncionarios\front\gentella\angular2-webpack-starter-gentelella\node_modules\webpack\lib\util\createHash.js:75:53)
at NormalModule._initBuildHash (C:\Users\anderson\Desktop\controlefuncionarios\front\gentella\angular2-webpack-starter-gentelella\node_modules\webpack\lib\NormalModule.js:339:16)
at handleParseError (C:\Users\anderson\Desktop\controlefuncionarios\front\gentella\angular2-webpack-starter-gentelella\node_modules\webpack\lib\NormalModule.js:387:10)
at C:\Users\anderson\Desktop\controlefuncionarios\front\gentella\angular2-webpack-starter-gentelella\node_modules\webpack\lib\NormalModule.js:419:5
at C:\Users\anderson\Desktop\controlefuncionarios\front\gentella\angular2-webpack-starter-gentelella\node_modules\webpack\lib\NormalModule.js:280:12
at C:\Users\anderson\Desktop\controlefuncionarios\front\gentella\angular2-webpack-starter-gentelella\node_modules\loader-runner\lib\LoaderRunner.js:373:3
at iterateNormalLoaders (C:\Users\anderson\Desktop\controlefuncionarios\front\gentella\angular2-webpack-starter-gentelella\node_modules\loader-runner\lib\LoaderRunner.js:214:10)
at Array.<anonymous> (C:\Users\anderson\Desktop\controlefuncionarios\front\gentella\angular2-webpack-starter-gentelella\node_modules\loader-runner\lib\LoaderRunner.js:205:4)
at Storage.finished (C:\Users\anderson\Desktop\controlefuncionarios\front\gentella\angular2-webpack-starter-gentelella\node_modules\enhanced-resolve\lib\CachedInputFileSystem.js:55:16)
at C:\Users\anderson\Desktop\controlefuncionarios\front\gentella\angular2-webpack-starter-gentelella\node_modules\enhanced-resolve\lib\CachedInputFileSystem.js:91:9 at C:\Users\anderson\Desktop\controlefuncionarios\front\gentella\angular2-webpack-starter-gentelella\node_modules\graceful-fs\graceful-fs.js:123:16
at FSReqCallback.readFileAfterClose [as oncomplete] (node:internal/fs/read_file_context:68:3) {
opensslErrorStack: [ 'error:03000086:digital envelope routines::initialization error' ],
library: 'digital envelope routines',
reason: 'unsupported',
code: 'ERR_OSSL_EVP_UNSUPPORTED'
}
I have already tried to export the authorization to use old libraries, but I was unsuccessful.
set NODE_OPTIONS=--openssl-legacy-provider
My version in the Node.js is v18.17.0
What can I do to resolve the project?