title: react js Module not found: Can't resolve 'file-saver'
body: <p>I'm following a tutrotial and all off a sudden i'm getting this error . I've tried all solution and reinstall module. but in other class the same code work</p>
  <p>this is my code</p>
  <pre><code>import fileSaver from 'file-saver';
  
  uploadPensiun(event) {
          const files = event.target.files
          const formData = new FormData()
          formData.append('Pensiun', files)
          fetch('http://localhost:5000/uploadpensiun', {
              method: 'POST',
              body: 'Pensiun',
              headers: {
                  'Accept': 'application/json',
                  'Content-Type': 'multipart/form-data'
              },
          })
          .then(res =&gt; res.json())
          .then(data =&gt; console.log(data))
          .catch((err) =&gt; console.log(err));
          
      }
  </code></pre>
  <p>anyone can help me please?</p>