-
-
Notifications
You must be signed in to change notification settings - Fork 41
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
Doesn't work in browser #75
Comments
Hi @ajoslin103 , sorry for my slow response. I wonder if you could just use |
:) slow response ok - I can’t remember what I was working on back then - I must have found a way around it
from the comment it looks like I couldn’t use csvStringifier in the browser because it had a dependency on fs which I don’t have when in the browser
it was back in july, so this might have been due to webpack 5 not auto poyfilling node modules
in any case, you can close this issue
cheers!
Al;
… On Nov 22, 2021, at 1:27 AM, Ryuichi Inagaki ***@***.***> wrote:
Hi @ajoslin103 <https://github.com/ajoslin103> , sorry for my slow response. I wonder if you could just use csvStringifier. csvWriter shouldn't cause any troubles if you're not using it in browsers.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub <#75 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AADML5KMG24OXDKUJTAA5YTUNHPEFANCNFSM5BEJK4KA>.
Triage notifications on the go with GitHub Mobile for iOS <https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675> or Android <https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
|
Same issue. I have been using this module for a while, but recently I tried to install it with a newer node (16.14.2) / npm (8.5.0) and I get the following error:
|
After some more research it seems to be related to the latest React more so than node/npm. Apparently the issue can be resolved by adding the following to the csv-writer package.json
If you happen to use any other file system modules those should also be added, i.e.:
|
FYI, I have forked and published csv-writer-browser in order to be able to continue my development. |
Hi @ajoslin103, This project seems to be abandoned, so I decided to fork it. My version fixes the browser compatibility issue and addresses other problems. I'm also incorporating the unmerged PRs from the original project. Check it out here:
Give it a try and let me know if you run into any issues. Best, |
Hi,
Thanks
Al;
The text was updated successfully, but these errors were encountered: