title: Error while installing gatsby.js starter templates
body: <p>I want to make web app using <code>gatsby.js</code><br>
  I have installed <code>gatsby-cli</code> globally using npm install.<br>
  But whenever I run <code>gatsby new gatsby-starter-forty https://github.com/codebushi/gatsby-starter-forty</code> or any other starter template command. I always end up with following error in my terminal</p>
  
  <pre><code>C:\Users\Sachin Verma\Desktop\gatsby&gt;gatsby new gatsby-starter-forty https://github.com/codebushi/gatsby-starter-forty
  info Creating new site from git: https://github.com/codebushi/gatsby-starter-forty.git
  Cloning into 'gatsby-starter-forty'...
  remote: Enumerating objects: 88, done.
  remote: Counting objects: 100% (88/88), done.
  remote: Compressing objects: 100% (83/83), done.
  Uremote: Total 88 (delta 7), reused 72 (delta 4), pack-reused 0
  Unpacking objects: 100% (88/88), done.
  [32msuccess[39m Created starter directory layout
  [34minfo[39m Installing packages...
  npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
  npm WARN deprecated core-js@2.6.11: core-js@&lt;3 is no longer maintained and not recommended for usage due to the number of issues. Please, upgrade your dependencies to the actual version of core-js@3.
  npm ERR! Unexpected end of JSON input while parsing near '...n"},"engines":{"node"'
  
  npm ERR! A complete log of this run can be found in:
  npm ERR!     C:\Users\Sachin Verma\AppData\Roaming\npm-cache\_logs\2020-05-10T15_43_11_180Z-debug.log
  
   ERROR
  
  Command failed with exit code 1: npm install
  
  
  
    Error: Command failed with exit code 1: npm install
  
    - error.js:56 makeError
      [npm]/[gatsby-cli]/[execa]/lib/error.js:56:11
  
    - index.js:114 handlePromise
      [npm]/[gatsby-cli]/[execa]/index.js:114:26
  
    - task_queues.js:97 processTicksAndRejections
      internal/process/task_queues.js:97:5
  </code></pre>
  
  <p>Please suggest some way to fix it. As I am new to Node.js and can't fully understand the error</p>