Open ahsanbagwan opened 8 years ago
You should use correct Windows path to 'react-scripts' in foreman's Procfile (remove ./ and replaces slashes by backslashes):
web: node_modules\.bin\react-scripts start
Also you need to edit second line and correctly set environment variable by 'SET PORT=3001' or using cross-env library:
api: SET PORT=3001 ./node_modules/.bin/babel-node server.js
or
api: cross-env PORT=3001 ./node_modules/.bin/babel-node server.js
When I issue npm start I'm greeted with this error report:
[WARN] No ENV file found [OKAY] Trimming display Output to 61 Columns 11:36:12 AM web.1 | '.' is not recognized as an internal or external command, 11:36:12 AM web.1 | operable program or batch file. [DONE] Killing all processes with signal null 11:36:12 AM web.1 Exited Abnormally 11:36:12 AM api.1 Exited Abnormally
How do I get rid of this problem?
I'm on Windows 7 edition. Node version: 4.5.0