title: npm ERR! Unexpected end of JSON input while parsing near '..."jscs":"~3.0.7","moch'
body: <p>I have a problem with npm. I tried: <code>npx create-react-app my-app</code> but it returned an error.</p>
  
  <p>My command prompt output:</p>
  
  <pre><code>c:\Users\sysli\Desktop\reactprojects&gt;npx create-react-app my-app
  npx: installed 91 in 34.825s
  
  Creating a new React app in c:\Users\sysli\Desktop\reactprojects\my-app.
  
  Installing packages. This might take a couple of minutes.
  Installing react, react-dom, and react-scripts with cra-template...
  
  npm ERR! Unexpected end of JSON input while parsing near '..."jscs":"~3.0.7","moch'
  
  npm ERR! A complete log of this run can be found in:
  npm ERR!     C:\Users\sysli\AppData\Roaming\npm-cache\_logs\2019-12-26T21_21_02_198Z-debug.log
  
  Aborting installation.
    npm install --save --save-exact --loglevel error react react-dom react-scripts cra-template has failed.
  
  Deleting generated file... package.json
  Deleting my-app/ from c:\Users\sysli\Desktop\reactprojects
  Done.
  </code></pre>
  
  <p>Log file:
  <a href="https://justpaste.it/3s5ym" rel="nofollow noreferrer">https://justpaste.it/3s5ym</a></p>