1
resposta

Todas vezes que tento executar o servidor do projeto recebo ess erro

npm run start Debugger attached.

ng-test1@0.0.0 start ng serve

Debugger attached. ? Port 4200 is already in use. Would you like to use a different port? Yes

  • Generating browser application bundles...Debugger attached. (node:26548) [DEP0111] DeprecationWarning: Access to process.binding('http_parser') is deprecated. (Use node --trace-deprecation ... to show where the warning was created) \ Generating browser application bundles (phase: building)...Waiting for the debugger to disconnect... node:internal/crypto/hash:71 this[kHandle] = new _Hash(algorithm, xofLen);
                ^

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:\Users\weliton.franco\Downloads\ng-test\node_modules\webpack\lib\util\createHash.js:135:53) at NormalModule.initBuildHash (C:\Users\weliton.franco\Downloads\ng-test\nodemodules\webpack\lib\NormalModule.js:417:16) at C:\Users\weliton.franco\Downloads\ng-test\node_modules\webpack\lib\NormalModule.js:452:10 at C:\Users\weliton.franco\Downloads\ng-test\node_modules\webpack\lib\NormalModule.js:323:13 at C:\Users\weliton.franco\Downloads\ng-test\node_modules\loader-runner\lib\LoaderRunner.js:367:11 at C:\Users\weliton.franco\Downloads\ng-test\node_modules\loader-runner\lib\LoaderRunner.js:203:19 at VirtualFileSystemDecorator.readFile (C:\Users\weliton.franco\Downloads\ng-test\node_modules@ngtools\webpack\src\virtual_file_system_decorator.js:48:13) at processResource (C:\Users\weliton.franco\Downloads\ng-test\node_modules\loader-runner\lib\LoaderRunner.js:202:11) at iteratePitchingLoaders (C:\Users\weliton.franco\Downloads\ng-test\node_modules\loader-runner\lib\LoaderRunner.js:158:10) at runLoaders (C:\Users\weliton.franco\Downloads\ng-test\node_modules\loader-runner\lib\LoaderRunner.js:365:2) at NormalModule.doBuild (C:\Users\weliton.franco\Downloads\ng-test\node_modules\webpack\lib\NormalModule.js:295:3) at NormalModule.build (C:\Users\weliton.franco\Downloads\ng-test\node_modules\webpack\lib\NormalModule.js:446:15) at Compilation.buildModule (C:\Users\weliton.franco\Downloads\ng-test\node_modules\webpack\lib\Compilation.js:739:10) at C:\Users\weliton.franco\Downloads\ng-test\node_modules\webpack\lib\Compilation.js:981:14 { opensslErrorStack: [ 'error:03000086:digital envelope routines::initialization error' ], library: 'digital envelope routines', reason: 'unsupported', code: 'ERR_OSSL_EVP_UNSUPPORTED' }

1 resposta

Na barra de tarefas do seu Windows, clica com o botão direito e abre o gerenciador de tarefas, lá você vai procurar na aba Processos, procure tudo o que tive escrito Node, clica com o botão direito e clica em finalizar/fechar. Provavelmente tem processo do node rodando e dando conflito quando você tenta rodar novamente.