title: React - Module not found: Error: Can't resolve 'fs' in '/Users/andreadavide/Documents/testAssoDeploy/node_modules/basic-ftp/dist'
body: <p>I'm struggling with this error and I've already tried many ways but unfortunately I'm not able to solve the problem.</p>
  <p>When I install any kind of FTP npm I receive this error. I've installed &quot;basic-ftp&quot; this time.</p>
  <pre><code>Module not found: Error: Can't resolve 'fs' in '/Users/andreadavide/Documents/testAssoDeploy/node_modules/basic-ftp/dist`
  </code></pre>
  <p>I tried in several ways, also adding to the root of package.json.</p>
  <pre><code>  &quot;browser&quot;: {
    &quot;fs&quot;: false,
    &quot;path&quot;: false,
    &quot;os&quot;: false
  }
  </code></pre>
  <p>but still not working.
  What I need to do is to work with FTP and fetch data from ftp web server, so I would need a npm for that. All the npm give me this error.</p>
  <p>Can anyone help me? Thanks in advance.</p>