Before running npm start I had to run 'export NODE_OPTIONS=--openssl-legacy-provider' in my terminal. This may or may not be an error you face