Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

199
Views
Modify an excel file using react

I am trying to write on an existing excel file where my data is coming as a json format. I want to load the excel file then write on it and then have to download it. I have searched a lot and there are lots of solution but they are not working for me. People are using xlsx, sheetjs to solve that type of problem .Now I just want to read my excel file but when I try read the file , it throw me the below error attached image

import logo from './logo.svg';
import './App.css';
import excel from 'xlsx';

function App() {
  const read_file=()=>{
    console.log("hi")
    var wb = excel.readFile('Book1.xlsx')
    console.log(wb)
  }
 
  return (
    <div className="App">
      <button type="button" onClick={read_file()}>button</button>
    </div>
  );
}

export default App;

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!