-
Notifications
You must be signed in to change notification settings - Fork 2
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
Export accounting data to csv #127
Conversation
Hey @tomlebl sorry for the inconvenience here, unfortunately I could not get it to install the package, seems an os-based issue. Therefore I want you to test out this PR's grants export in your environment before I can start the work on other exports. |
@hunxjunedo I just came back from holidays and had a brief look. I see that you try to use react-make-csv library that has very small track record. It has only 33 weekly downloads. Using library could be source of many troubles. |
@tomlebl took a little too much time, but it's finally completed, please have a lool |
Great. I thought that you gave up. I will have a look at some point today or tomorrow |
I was being dumb the whole time, installing the package in local dir instead of the container 🤦 |
@hunxjunedo I think that I see what was wrong now. What you did actually did not work out of the box in my environment due to the change that you did in vite.config.js. It took actually awhile to figure out why it was not working. |
How did it go in your environment? Idk why it's giving me an error: proptypes doesn't export a module named array. Did you come across this too ? |
I'm actually trying to do some improvements and optimizations on the backend, but the frontend gives this error. |
That's exactly the error message that I was getting and could not figure it out until I noticed the change in vite.config.js. I reverted and that solved the problem. What I get from here https://vitejs.dev/config/dep-optimization-options is that the option excluded react-csv to be prebundled by vite which does not make sense to me. |
fixes #15