React'te server açılınca disconnect oluyor

Randoming321

Decapat
Katılım
12 Nisan 2022
Mesajlar
352
Daha fazla  
Cinsiyet
Erkek
React JS te bir hata alıyorum nasıl cözerim? Server baslatılınca disconnect oluyor ne yapmam lazım?
Kod:
and\node_modules\enhanced-resolve\lib\CachedInputFileSystem.js:91:9
Waiting for the debugger to disconnect...
C:\Users\osman\Desktop\ReactApp\ReactBrandColors\brand\node_modules\react-scripts\scripts\build.js:19
 Throw err;
 ^

Error: Error:0308010Cigital envelope routines: Unsupported.
 At New hash (node:internal/crypto/hash:71:19)
 At object. Createhash (Node:crypto:133:10)
 At module. Exports (C:\Users\osman\Desktop\ReactApp\ReactBrandColors\brand\node_modules\webpack\lib\util\createHash.js:90:53)
 At normalmodule. _initbuildhash (C:\Users\osman\Desktop\ReactApp\ReactBrandColors\brand\node_modules\webpack\lib\NormalModule.js:386:16)
 At C:\Users\osman\Desktop\ReactApp\ReactBrandColors\brand\node_modules\webpack\lib\NormalModule.js:418:10
 At C:\Users\osman\Desktop\ReactApp\ReactBrandColors\brand\node_modules\webpack\lib\NormalModule.js:293:13
 At C:\Users\osman\Desktop\ReactApp\ReactBrandColors\brand\node_modules\loader-runner\lib\LoaderRunner.js:367:11
 At C:\Users\osman\Desktop\ReactApp\ReactBrandColors\brand\node_modules\loader-runner\lib\LoaderRunner.js:233:18
 At context. Callback (C:\Users\osman\Desktop\ReactApp\ReactBrandColors\brand\node_modules\loader-runner\lib\LoaderRunner.js:111:13)
 At C:\Users\osman\Desktop\ReactApp\ReactBrandColors\brand\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.16.0
Waiting for the debugger to disconnect...
Waiting for the debugger to disconnect...
PS C:\Users\osman\Desktop\ReactApp\ReactBrandColors\brand>
 
Son düzenleyen: Moderatör:
Bu hata, OpenSSL ile ilgili bir sorundan kaynaklanıyor gibi görünüyor. Bu tür hatalar genellikle Node.js sürümünüzle ilgilidir. Sorunu çözmek için şu adımları deneyebilirsiniz:

  1. Node.js sürümünüzü kontrol edin: Bu hatanın nedeni genellikle Node.js sürümünüzün eski olmasıdır. En son stabil sürümü indirip kurmayı deneyin.
  2. OpenSSL sürümünüzü kontrol edin: OpenSSL'in eski bir sürümü de bu hataya neden olabilir? OpenSSL'in en son sürümünü indirip kurmayı deneyin.
  3. Node.js'i yeniden derleyin: Node.js'i kendiniz derleyerek OpenSSL sürümünü güncelleyebilirsiniz. Node.js'in kaynak kodunu indirin ve sürümünüzün kullandığı OpenSSL sürümünü yükseltin. Daha sonra Node.js'i yeniden derleyin ve yükleyin.
Bu adımlardan sonra hala sorun yaşıyorsanız, hata mesajınızda belirtilen dosya ve satırları inceleyerek sorunun kaynağını daha ayrıntılı bir şekilde belirleyebilirsiniz. Ayrıca, projenizde kullanılan diğer araçların ve paketlerin de soruna neden olup olmadığını kontrol etmek de faydalı olabilir.
 
@Administraktör calısmıyor hocam
Export: The term 'export' is not recognized as the name of a CMD'le.
T, function, script file, or operable program. Check the spelling o
F the name, or if a path was included, verify that the path is corr
Ect and try again.
At line: 1 char: 1
+ Export node_optıons=--OpenSSL-legacy-provider
+ ~~~~~~
+ Categoryınfo: Objectnotfound: (export: String) [],
Commandnotfoundexception
+ Fullyqualifiederrorıd: Commandnotfoundexception
 
@Administraktör calısmıyor hocam
Export: The term 'export' is not recognized as the name of a CMD'le.
T, function, script file, or operable program. Check the spelling o
F the name, or if a path was included, verify that the path is corr
Ect and try again.
At line: 1 char: 1
+ Export node_optıons=--OpenSSL-legacy-provider
+ ~~~~~~
+ Categoryınfo: Objectnotfound: (export: String) [],
Commandnotfoundexception
+ Fullyqualifiederrorıd: Commandnotfoundexception
Build software better, together Benzerleri burada var. Bu şekiilde yazmalısın.
 

Geri
Yukarı