title: Why I got this error: npm ERR! code ELIFECYCLE
body: <p>I'm new at programming and also in React. I'm trying to start my project, but it doesn't start.
  Here is the error:</p>
  <pre><code>npm ERR! code ELIFECYCLE
  npm ERR! errno 1
  npm ERR! client@0.1.0 start: `react-scripts start`
  npm ERR! Exit status 1
  npm ERR!
  npm ERR! Failed at the client@0.1.0 start script.
  npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
  
  npm ERR! A complete log of this run can be found in:
  npm ERR!     C:\Users\Home\AppData\Roaming\npm-cache\_logs\2020-08-10T04_38_38_989Z-debug.log
  </code></pre>
  <p>Here is log file:</p>
  <pre><code>0 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.13.4
  3 info using node@v12.16.0
  4 verbose run-script [ 'prestart', 'start', 'poststart' ]
  5 info lifecycle client@0.1.0~prestart: client@0.1.0
  6 info lifecycle client@0.1.0~start: client@0.1.0
  7 verbose lifecycle client@0.1.0~start: unsafe-perm in lifecycle true
  8 verbose lifecycle client@0.1.0~start: PATH: C:\Program Files\nodejs\node_modules\npm\node_modules\npm-lifecycle\node-gyp-bin;D:\ReactProjects\restaurant-app\client\node_modules\.bin;C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\Program Files (x86)\Common Files\Intel\Shared Files\cpp\bin\Intel64;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\ATI Technologies\ATI.ACE\Core-Static;C:\Program Files (x86)\AMD\ATI.ACE\Core-Static;C:\WINDOWS\System32\OpenSSH\;C:\WINDOWS\SysWOW64;C:\Program Files\wget;C:\Program Files\nodejs\;C:\Program Files\Git\cmd;C:\Users\Home\AppData\Local\Microsoft\WindowsApps;C:\Users\Home\AppData\Local\Programs\Microsoft VS Code\bin;C:\Users\Home\AppData\Roaming\npm;C:\Users\Home\AppData\Local\GitHubDesktop\bin
  9 verbose lifecycle client@0.1.0~start: CWD: D:\ReactProjects\restaurant-app\client
  10 silly lifecycle client@0.1.0~start: Args: [ '/d /s /c', 'react-scripts start' ]
  11 silly lifecycle client@0.1.0~start: Returned: code: 1  signal: null
  12 info lifecycle client@0.1.0~start: Failed to exec start script
  13 verbose stack Error: client@0.1.0 start: `react-scripts start`
  13 verbose stack Exit status 1
  13 verbose stack     at EventEmitter.&lt;anonymous&gt; (Program Files\nodejs\node_modules\npm\node_modules\npm-lifecycle\index.js:332:16)
  13 verbose stack     at EventEmitter.emit (events.js:321:20)
  13 verbose stack     at ChildProcess.&lt;anonymous&gt; (C:\Program Files\nodejs\node_modules\npm\node_modules\npm-lifecycle\lib\spawn.js:55:14)
  13 verbose stack     at ChildProcess.emit (events.js:321: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 client@0.1.0
  15 verbose cwd D:\ReactProjects\restaurant-app\client
  16 verbose Windows_NT 10.0.17134
  17 verbose argv &quot;C:\\Program Files\\nodejs\\node.exe&quot; &quot;C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js&quot; &quot;start&quot;
  18 verbose node v12.16.0
  19 verbose npm  v6.13.4
  20 error code ELIFECYCLE
  21 error errno 1
  22 error client@0.1.0 start: `react-scripts start`
  22 error Exit status 1
  23 error Failed at the client@0.1.0 start script.
  23 error This is probably not a problem with npm. There is likely additional logging output above.
  24 verbose exit [ 1, true ]
  </code></pre>
  <p>P.S. I tried out to clean cache, delete node_modules and package-lock.json and reinstall them, but it didn't fix my problem.</p>
  <p>Thanks in advance</p>