joeeames / PSAngularUnitTestingCourse

files & status for my Pluralsight course on Unit Testing
246 stars 491 forks source link

Code is outdated #74

Open rakimi opened 1 year ago

rakimi commented 1 year ago

Last updates on the code files was (currently) 2 years ago. I cloned the repo and ran npm i. This gives me multiple warnings that packages are deprecated and reports 39 vulnerabilities (8 critical, 21 high). "npm audit fix" does not fix that. Running the app ("npm start") results in errors: "error digital envelope routines::unsupported opensslErrorStack: [ 'error:03000086:digital envelope routines::initialization error' ], library: 'digital envelope routines', reason: 'unsupported', code: 'ERR_OSSL_EVP_UNSUPPORTED' }" (OpenSSl had some CVE's which were patched, and I assume the JS/TS library versions predate those.)

Running npm test also results in the same error, but caused by the karma server: [karma-server: UnhandledRejection: Error digital envelope routines::unsupported I have a fully updated Win11 x64 machine , w node.js 18.14.2, npm 8.12.2, (globally) angular CLI 15.2.4