Open jdleval opened 2 years ago
When I run the npm audit fix it sometimes seems to fix it. There are still some vulnerablilities in the code. I am just wondering if this is the best solution, or is there something else I should try
doesnt work for me
I was able to resolve this by running the following in the terminal
$env:NODE_OPTIONS = "--openssl-legacy-provider"
and then running
npm run start
based on this-= https://stackoverflow.com/a/74726292
Error: error:0308010C:digital envelope routines::unsupported at new Hash (node:internal/crypto/hash:71:19) at Object.createHash (node:crypto:133:10)
Starting the development server...
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\jerem\OneDrive\Coding Projects\Net Ninja\React-Firebase\React-Firebase-lesson-69\multipage-site\node_modules\webpack\lib\util\createHash.js:135:53) at NormalModule._initBuildHash (C:\Users\jerem\OneDrive\Coding Projects\Net Ninja\React-Firebase\React-Firebase-lesson-69\multipage-site\node_modules\webpack\lib\NormalModule.js:417:16) at handleParseError (C:\Users\jerem\OneDrive\Coding Projects\Net Ninja\React-Firebase\React-Firebase-lesson-69\multipage-site\node_modules\webpack\lib\NormalModule.js:471:10) at C:\Users\jerem\OneDrive\Coding Projects\Net Ninja\React-Firebase\React-Firebase-lesson-69\multipage-site\node_modules\webpack\lib\NormalModule.js:503:5 at C:\Users\jerem\OneDrive\Coding Projects\Net Ninja\React-Firebase\React-Firebase-lesson-69\multipage-site\node_modules\webpack\lib\NormalModule.js:358:12 at C:\Users\jerem\OneDrive\Coding Projects\Net Ninja\React-Firebase\React-Firebase-lesson-69\multipage-site\node_modules\loader-runner\lib\LoaderRunner.js:373:3
at iterateNormalLoaders (C:\Users\jerem\OneDrive\Coding Projects\Net Ninja\React-Firebase\React-Firebase-lesson-69\multipage-site\node_modules\loader-runner\lib\LoaderRunner.js:214:10) at iterateNormalLoaders (C:\Users\jerem\OneDrive\Coding Projects\Net Ninja\React-Firebase\React-Firebase-lesson-69\multipage-site\node_modules\loader-runner\lib\LoaderRunner.js:221:10) C:\Users\jerem\OneDrive\Coding Projects\Net Ninja\React-Firebase\React-Firebase-lesson-69\multipage-site\node_modules\react-scripts\scripts\start.js:19 throw err; ^
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\jerem\OneDrive\Coding Projects\Net Ninja\React-Firebase\React-Firebase-lesson-69\multipage-site\node_modules\webpack\lib\util\createHash.js:135:53) at NormalModule._initBuildHash (C:\Users\jerem\OneDrive\Coding Projects\Net Ninja\React-Firebase\React-Firebase-lesson-69\multipage-site\node_modules\webpack\lib\NormalModule.js:417:16) at C:\Users\jerem\OneDrive\Coding Projects\Net Ninja\React-Firebase\React-Firebase-lesson-69\multipage-site\node_modules\webpack\lib\NormalModule.js:452:10 at C:\Users\jerem\OneDrive\Coding Projects\Net Ninja\React-Firebase\React-Firebase-lesson-69\multipage-site\node_modules\webpack\lib\NormalModule.js:323:13 at C:\Users\jerem\OneDrive\Coding Projects\Net Ninja\React-Firebase\React-Firebase-lesson-69\multipage-site\node_modules\loader-runner\lib\LoaderRunner.js:367:11
at C:\Users\jerem\OneDrive\Coding Projects\Net Ninja\React-Firebase\React-Firebase-lesson-69\multipage-site\node_modules\loader-runner\lib\LoaderRunner.js:233:18
at context.callback (C:\Users\jerem\OneDrive\Coding Projects\Net Ninja\React-Firebase\React-Firebase--lesson-69\multipage-site\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' }