the back-end will not run on Windows, after following all the steps due to the error
'NODE_ENV' is not recognized as an internal or external command, operable program or batch file.
only way to get back-end to run is to edit the script source in package.json to
"scripts": {
"start": "npm run start:local",
"start:local": "SET NODE_ENV=local & nodemon index.js",
"start:dev": "SET NODE_ENV=development & nodemon index.js",
"start:prod": "SET NODE_ENV=production & node index.js",
"test": "jest --coverage",
"seed": "node scripts/seed.js",
"update-permissions": "node scripts/update-permissions.js",
"precommit": "lint-staged",
"lint": "eslint --fix **/*.js ./"
},
as explained here
the back-end will not run on Windows, after following all the steps due to the error
only way to get back-end to run is to edit the script source in package.json to
as explained here