title: fsevents causes Module parse failed: Unexpected character '�'
body: <p>I am using <code>next.js</code> and I get:</p>
  <pre><code>Failed to compile.
  
  ./node_modules/fsevents/fsevents.node 1:0
  Module parse failed: Unexpected character '�' (1:0)
  You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
  (Source code omitted for this binary file)
  </code></pre>
  <p>I tried almost everything, most recently, to <code>package.json</code>, I added:</p>
  <pre><code>    &quot;optionalDependencies&quot;: {
          &quot;fsevents&quot;: &quot;^2.1.3&quot;
      }
  </code></pre>
  <p>In <code>next.config.js</code>, I have:</p>
  <pre><code>const withImages = require(&quot;next-images&quot;);
  const withPlugins = require(&quot;next-compose-plugins&quot;);
  const withCSS = require(&quot;@zeit/next-css&quot;);
  
  module.exports = withPlugins([
      withCSS,
      withImages,
  ]
  </code></pre>
  <p>Not sure what else to do.</p>