title: Error: node_modules\react-native-fs\FS.common.js: Unexpected token, expected "," (30:29) when build React project
body: <p>I have just installed <code>jsmediatags</code> in my project. Then when I try to build my project, it has the error as below</p>
  <pre><code>...
  Creating an optimized production build...
  Failed to compile.
  
  .\node_modules\jsmediatags\build2\ReactNativeFileReader.js
  Cannot find module: 'react-native-fs'. Make sure this package is installed.
  
  You can install this package by running: npm install react-native-fs.
  </code></pre>
  <p>Then I keep installing <code>react-native-fs</code>, and it still has the error.</p>
  <pre><code>...
  Creating an optimized production build...
  Failed to compile.
  
  ./node_modules/react-native-fs/FS.common.js
  SyntaxError: D:\workspace\zmp3-desktop\node_modules\react-native-fs\FS.common.js: Unexpected token, expected &quot;,&quot; (30:29)
  
    28 | };
    29 |
  &gt; 30 | var normalizeFilePath = (path: string) =&gt; (path.startsWith('file://') ? path.slice(7) : path);
       |                              ^
    31 |
    32 | type MkdirOptions = {
    33 |   NSURLIsExcludedFromBackupKey?: boolean; // iOS only
  ...
  </code></pre>
  <p>At that time, I can't find out any article to fix this problem.</p>