Skip to content

Reading an xlsx file returns a TypeError #837

@titivermeesch

Description

@titivermeesch

Hi,

So I'm trying to read a xlsx file that is in the same folder as my Reactjs file, and here is what I got =>

workbook.xlsx.readFile('data.xlsx').then(function() { console.log('File read') })

But then I got this error =>
Unhandled Rejection (TypeError): fs.exists is not a function

Can anyone help me with this please

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions