Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TypeError: fs.createReadStream is not a function #63

Closed
amkamn opened this issue Dec 16, 2019 · 5 comments
Closed

TypeError: fs.createReadStream is not a function #63

amkamn opened this issue Dec 16, 2019 · 5 comments

Comments

@amkamn
Copy link

amkamn commented Dec 16, 2019

// Readable Stream.

const fs = require('fs');
readXlsxFile(fs.createReadStream('/my_excel_file')).then((rows) => {
  ...
})

Error message
TypeError: fs.createReadStream is not a function

@catamphetamine
Copy link
Owner

fs is on server side only

@amkamn
Copy link
Author

amkamn commented Dec 16, 2019

how read excel file ? From client side ?
Thanks

@catamphetamine
Copy link
Owner

Use brain.
No prob.

@amkamn
Copy link
Author

amkamn commented Dec 16, 2019

U welcome

@catamphetamine
Copy link
Owner

Yeah fuck you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants