React app using create-react-app: webpack and CSS opacity 1% issue

This seems like such an obscure and weirdly random issue, but I’ve come across this issue 3 times now in the past few years. I’m working on my React frontend app for Sudoku puzzles (which is related to many other past personal projects, which I’ve posted about here). I have a nested set of grids …

Jest error parsing React jsx files “Support for the experimental syntax ‘jsx’ isn’t currently enabled”

I ran into this error adding new Jest tests to my React project: SyntaxError: CellComponent.test.js: Support for the experimental syntax ‘jsx’ isn’t currently enabled (7:34): and then this recommendation at the end: Add @babel/preset-react (https://git.io/JfeDR) to the ‘presets’ section of your Babel config to enable transformation. Doing an ‘npm i @babel/preset-react –save-dev’ gets us almost …

React app running locally failing with opensslErrorStack ERR_OSSL_EVP_UNSUPPORTED

I just started getting this error starting up my React app locally with ‘npm run start’ : opensslErrorStack: [ ‘error:03000086:digital envelope routines::initialization error’ ], library: ‘digital envelope routines’, reason: ‘unsupported’, code: ‘ERR_OSSL_EVP_UNSUPPORTED’ I recently installed nvm on my Mac to avoid needing sudo for running a ‘npm i -g’, and also apparently picked up the …