CodeWithHarry / TextUtils-React

Source Code For the TextUtils React Application from CodeWithHarry YouTube Tutorial.
424 stars 262 forks source link

this issue is coming when i am trying to run the code #42

Open TheTurboSlayer opened 5 months ago

TheTurboSlayer commented 5 months ago

Error: error:0308010C:digital envelope routines::unsupported at new Hash (node:internal/crypto/hash:68:19) at Object.createHash (node:crypto:138:10) at module.exports (D:\Desktop\TextUtils-React\node_modules\webpack\lib\util\createHash.js:135:53) at NormalModule._initBuildHash (D:\Desktop\TextUtils-React\node_modules\webpack\lib\NormalModule.js:417:16) at D:\Desktop\TextUtils-React\node_modules\webpack\lib\NormalModule.js:452:10 at D:\Desktop\TextUtils-React\node_modules\webpack\lib\NormalModule.js:323:13 at D:\Desktop\TextUtils-React\node_modules\loader-runner\lib\LoaderRunner.js:367:11 at D:\Desktop\TextUtils-React\node_modules\loader-runner\lib\LoaderRunner.js:233:18 at context.callback (D:\Desktop\TextUtils-React\node_modules\loader-runner\lib\LoaderRunner.js:111:13) at D:\Desktop\TextUtils-React\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' }

ShahMuhaymin commented 5 months ago

facing same error

TheTurboSlayer commented 5 months ago

Did you get any way to correct it?

Shorya Goel

On Sun, 7 Apr 2024, 07:37 ShahMuhaymin, @.***> wrote:

facing same error

— Reply to this email directly, view it on GitHub https://github.com/CodeWithHarry/TextUtils-React/issues/42#issuecomment-2041276265, or unsubscribe https://github.com/notifications/unsubscribe-auth/AUQ42JYASIH6WSRODCVBI63Y4CS4TAVCNFSM6AAAAABF2G27JSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANBRGI3TMMRWGU . You are receiving this because you authored the thread.Message ID: @.***>

susmitasanti commented 3 weeks ago

To resolve the OpenSSL issue with Node.js, please follow these steps:

For Windows Command Prompt:

  1. Open Command Prompt and navigate to your project directory.

  2. Set the NODE_OPTIONS environment variable:

    
    set NODE_OPTIONS=--openssl-legacy-provider

For Linux, macOS Command Prompt:

  1. Open Command Prompt and navigate to your project directory.

  2. Set the NODE_OPTIONS environment variable:

    
    export NODE_OPTIONS=--openssl-legacy-provider

Start your app


   npm run start