title: I am trying to write some data into Excel file using Cypress tool but getting error
body: <p>I am trying to write some data into Excel file using Cypress tool but getting error.
  trying to use 'exceljs' <code>const Excel = require('exceljs')</code> but getting error &quot;Can't resolve 'exceljs' in 'D:\Branches\3006_LatestMaster&quot;</p>
  <p>using code</p>
  <pre class="lang-js prettyprint-override"><code>var Excel = require('exceljs'); 
  var workbook = new Excel.Workbook(); 
  var filePath = &quot;D:\\Myspectra\\test.xlsx&quot; 
  function check() { 
    console.log('saky') 
    workbook.xlsx.readFile(filePath).then(()=&gt; { 
      var worksheet = workbook.getWorksheet('Sheet1'); 
      console.log(worksheet.getCell('D3').value) //= &quot;Saky&quot; 
      //Change the cell number here return 
      workbook.xlsx.writeFile(filePath) 
      //Change file name here or give file path 
    }).catch((err)=&gt;{ 
      console.log(&quot;error&quot;,err) 
    }); 
  } 
  check();
  </code></pre>