title: Running yarn install returns syntax error
body: <p>I am new to Yarn. Whenever I run <code>yarn install</code> to install my dependencies, I get the following error in the <code>yarn-error.log</code> file:</p>
  <pre><code>Arguments: 
  /usr/local/Cellar/node/14.7.0/bin/node /usr/local/Cellar/yarn/1.22.4/libexec/bin/yarn.js install
  
  PATH: 
   /Users/firstlastname/anaconda3/bin:/Users/firstlastname/anaconda3/condabin:/usr/local/bin:/Library/Frameworks/Python.framework/Versions/3.6/bin:/Users/firstlastname/google-cloud-sdk/bin:/Library/Frameworks/Python.framework/Versions/3.7/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin
  
  Yarn version: 
    1.22.4
  
  Node version: 
    14.7.0
  
  Platform: 
    darwin x64
  
  Trace: 
    SyntaxError: /Users/firstlastname/Documents/01_projects/src/react-js/package.json: Unexpected token / in JSON at position 108
        at JSON.parse (&lt;anonymous&gt;)
        at /usr/local/Cellar/yarn/1.22.4/libexec/lib/cli.js:1625:59
        at Generator.next (&lt;anonymous&gt;)
        at step (/usr/local/Cellar/yarn/1.22.4/libexec/lib/cli.js:310:30)
        at /usr/local/Cellar/yarn/1.22.4/libexec/lib/cli.js:321:13
  
  </code></pre>
  <p>I tried uninstalling Yarn with <code>brew uninstall node</code> and Node by clearing a Node version I had installed with the installer package from the nodejs.org website and reinstalling yarn + node with <code>brew install yarn</code>, but no awail.</p>
  <p>Any ideas how to solve the problem?</p>
  <p>EDIT, here's the <code>package.json</code>:</p>
  <pre><code>{
    &quot;name&quot;: &quot;react-js&quot;,
    &quot;version&quot;: &quot;0.1.0&quot;,
    &quot;homepage&quot;: &quot;https://myname.github.io/storytelling&quot;,
    &quot;private&quot;: true,
    &quot;dependencies&quot;: {
      &quot;d3-scale&quot;: &quot;^3.2.1&quot;,
      &quot;mapbox-gl&quot;: &quot;1.5.0&quot;,
      &quot;react&quot;: &quot;^16.9.0&quot;,
      &quot;react-dom&quot;: &quot;^16.9.0&quot;,
      &quot;react-scripts&quot;: &quot;3.1.1&quot;,
      &quot;scrollama&quot;: &quot;2.0.1&quot;
    },
    &quot;scripts&quot;: {
      &quot;start&quot;: &quot;react-scripts start&quot;,
      &quot;build&quot;: &quot;react-scripts build&quot;,
      &quot;test&quot;: &quot;react-scripts test&quot;,
      &quot;eject&quot;: &quot;react-scripts eject&quot;,
      &quot;predeploy&quot;: &quot;yarn build&quot;,
      &quot;deploy&quot;: &quot;gh-pages -d build&quot;
    },
    &quot;eslintConfig&quot;: {
      &quot;extends&quot;: &quot;react-app&quot;
    },
    &quot;browserslist&quot;: {
      &quot;production&quot;: [
        &quot;&gt;0.2%&quot;,
        &quot;not dead&quot;,
        &quot;not op_mini all&quot;
      ],
      &quot;development&quot;: [
        &quot;last 1 chrome version&quot;,
        &quot;last 1 firefox version&quot;,
        &quot;last 1 safari version&quot;
      ]
    },
    &quot;devDependencies&quot;: {
      &quot;gh-pages&quot;: &quot;^3.1.0&quot;
    }
  }
  </code></pre>