Problem creating coin-exchange react app

create-react-app coin-exchange

Creates app with 1 error towards end
“Git commit not created Error: Command failed: git commit -m “Initialize project using Create React App””
at checkExecSyncError (child_process.js:630:11)
at execSync (child_process.js:666:15)
at tryGitCommit (C:\dev\react\coin-exchange\node_modules\react-scripts\scripts\init.js:62:5)

Happy hacking!

user@t5610 MINGW64 /c/dev/react
$ cd coin-exchange/

user@t5610 MINGW64 /c/dev/react/coin-exchange
$ npm start

coin-exchange@0.1.0 start C:\dev\react\coin-exchange
react-scripts start

The system cannot find the path specified.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! coin-exchange@0.1.0 start: react-scripts start

Log file says

info it worked if it ends with ok
1 verbose cli [
1 verbose cli ‘C:\Program Files\nodejs\node.exe’,
1 verbose cli ‘C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js’,
1 verbose cli ‘start’
1 verbose cli ]
2 info using npm@6.14.5
3 info using node@v12.18.2
4 verbose run-script [ ‘prestart’, ‘start’, ‘poststart’ ]
5 info lifecycle coin-exchange@0.1.0~prestart: coin-exchange@0.1.0
6 info lifecycle coin-exchange@0.1.0~start: coin-exchange@0.1.0
7 verbose lifecycle coin-exchange@0.1.0~start: unsafe-perm in lifecycle true
8 verbose lifecycle coin-exchange@0.1.0~start: PATH: C:\Program Files\nodejs\node_modules\npm\node_modules\npm-lifecycle\node-gyp-bin;C:\dev\react\coin-exchange\node_modules.bin;C:\Program Files\Git\mingw64\bin;C:\Program Files\Git\usr\bin;C:\Users\user\bin;C:\Python38\Scripts;C:\Python38;C:\Program Files\Java\jdk-14.0.2\bin;C:\Program Files\graalvm-ce-java11-20.1.0\bin;C:\Program Files\AdoptOpenJDK\jdk-14.0.2.12-openj9\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0;C:\Windows\System32\OpenSSH;C:\Users\user\AppData\Local\Microsoft\WindowsApps;C:\Program Files (x86)\Windows Kits\10\Windows Performance Toolkit;C:\Program Files\dotnet;C:\Program Files\PuTTY;C:\Program Files\nodejs;C:\ProgramData\chocolatey\bin;C:\dev\apache-maven-3.6.3-bin\bin;C:\Program Files\Git\cmd;C:\Program Files\Docker\Docker\resources\bin;C:\ProgramData\DockerDesktop\version-bin;C:\Users\user\AppData\Local\Microsoft\WindowsApps;C:\Users\user.dotnet\tools;C:\Users\user\AppData\Local\Programs\Microsoft VS Code\bin;C:\Users\user\AppData\Roaming\npm
9 verbose lifecycle coin-exchange@0.1.0~start: CWD: C:\dev\react\coin-exchange
10 silly lifecycle coin-exchange@0.1.0~start: Args: [ ‘/d /s /c’, ‘react-scripts start’ ]
11 silly lifecycle coin-exchange@0.1.0~start: Returned: code: 1 signal: null
12 info lifecycle coin-exchange@0.1.0~start: Failed to exec start script
13 verbose stack Error: coin-exchange@0.1.0 start: react-scripts start
13 verbose stack Exit status 1
13 verbose stack at EventEmitter. (C:\Program Files\nodejs\node_modules\npm\node_modules\npm-lifecycle\index.js:332:16)
13 verbose stack at EventEmitter.emit (events.js:315:20)
13 verbose stack at ChildProcess. (C:\Program Files\nodejs\node_modules\npm\node_modules\npm-lifecycle\lib\spawn.js:55:14)
13 verbose stack at ChildProcess.emit (events.js:315:20)
13 verbose stack at maybeClose (internal/child_process.js:1021:16)
13 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:286:5)
14 verbose pkgid coin-exchange@0.1.0
15 verbose cwd C:\dev\react\coin-exchange
16 verbose Windows_NT 10.0.19041
17 verbose argv “C:\Program Files\nodejs\node.exe” “C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js” “start”
18 verbose node v12.18.2
19 verbose npm v6.14.5
20 error code ELIFECYCLE

Can’t find anything on google - any ideas ?

Windows 8.1 npm recently installed

After googling i tried " node_modules/.bin/react-scripts start" and eventually got
“Starting the development server…”

“Compiled successfully!”

and my browser popped up on http://localhost:3000/

So success ?

You need to have node/npm installed on your computer. Then type npm start from the folder, where your package.json is. See the animation here in the document: https://github.com/facebook/create-react-app