Encountering issues on running npm scripts? Here's a fix if you found your issues below:
npm error missing script: "server"
Try adding --openssl-legacy-provider
on "start"
and "build"
under "scripts"
field in the package.json file
"scripts": {
"start": "react-scripts --openssl-legacy-provider start",
"build": "react-scripts --openssl-legacy-provider build"
}
Top comments (0)