It's been several years since this tutorial was created, and something in the code may need to be updated to allow it to build with current versions of npm. When I try to build or serve the app, the following error is thrown (yarn and npm throw the same error):
opensslErrorStack: [ 'error:03000086:digital envelope routines::initialization error', 'error:0308010C:digital envelope routines::unsupported' ], library: 'digital envelope routines', reason: 'unsupported', code: 'ERR_OSSL_EVP_UNSUPPORTED'
When looking this error up, I found that it is caused by a breaking change in npm versions 17+. Switching to npm 16 resolved the issue for me, but I think the app should be updated so that others don't run into the same problem.
It's been several years since this tutorial was created, and something in the code may need to be updated to allow it to build with current versions of npm. When I try to build or serve the app, the following error is thrown (yarn and npm throw the same error):
opensslErrorStack: [ 'error:03000086:digital envelope routines::initialization error', 'error:0308010C:digital envelope routines::unsupported' ], library: 'digital envelope routines', reason: 'unsupported', code: 'ERR_OSSL_EVP_UNSUPPORTED'When looking this error up, I found that it is caused by a breaking change in npm versions 17+. Switching to npm 16 resolved the issue for me, but I think the app should be updated so that others don't run into the same problem.