I'm adding
HTTPS=true
to my package.json and starting my react frontend as always with "npm start" but it gives me
The command "HTTPS" is either misspelled or could not be found.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
My package.json:
"scripts": {
"start": "SET HTTPS=true & SSL_CRT_FILE=domain.com.pem & SSL_KEY_FILE=domain.com-key.pem & cross-env HOST=domain.com react-scripts start",
I tried everything I found all over the place online but I destroyed more than I fixed an nothing seemed to work at the end. I'm on windows and tried different shells different formats with and without spaces, add "set " and "SET " at front and so on. Does anyone know why it seem to cannot find the HTTPS command?