notes - Nov 2023
$ nvm use v18
N/A: version "v18" is not yet installed.
Error: error:0308010C:digital envelope routines::unsupported at new Hash (node:internal/crypto/hash:69:19)
add to package.json start script:
--openssl-legacy-provider
$ npm run server
ERROR: npm v10.2.4 is known not to run on Node.js v14.21.3. This version of npm supports the following node versions: `^18.17.0 || >=20.5.0`. You can find the latest version at https://nodejs.org/.
had to run
nvm use v18
in other terminal :)
This is the project from the YouTube crash course. It includes the react ui as well as JSON-server for our mock backend
npm install
Run React dev server (http://localhost:3000)
npm start
Run the JSON server (http://localhost:5000)
npm run server
npm run build