DEV Community

Discussion on: Using HTTPS with react create app (Windows)

Collapse
 
helinchooi profile image
HeLinChooi

I'm running command on PowerShell. But I got an error.

'HTTPS' is not recognized as an internal or external command,
operable program or batch file.

In my package.json,
"scripts": {
"start": "HTTPS=true react-scripts start",
...
}

I already setup User Environment Variable 'HTTPS' to value 'true' but failed. Anyone?

Collapse
 
wozzo profile image
Warren • Edited

If you have the environment variable then change to "start" : "react-scripts yet".
this guide is out of date now though. I recommend the new version