securedeveloper / react-data-export

Export dataset in react.
https://securedeveloper.github.io/react-data-export/
MIT License
179 stars 194 forks source link

xlsx dependencies were not downloaded on the older version #123

Closed ipramono closed 4 years ago

ipramono commented 4 years ago
securedeveloper commented 4 years ago

@ipramono I made a new release yesterday, if you're still using the old version, please update to the new one, incase the problem still persist please re-open the issue, I will be happy to help.

ipramono commented 4 years ago

Hi @securedeveloper. Fyi, when I used the latest one, it is complaining the same thing. It asked for xlsx by tempa-xlsx. When I checked, it seems like tempa-xlsx requires xlsx 0.8.20 which is not existent anymore: https://www.npmjs.com/package/xlsx

I fixed it by using the old version: react-data-export: "^0.3.7", but add xlsx: "^0.9.0" in my packages.json

securedeveloper commented 4 years ago

Hi @securedeveloper. Fyi, when I used the latest one, it is complaining the same thing. It asked for xlsx by tempa-xlsx. When I checked, it seems like tempa-xlsx requires xlsx 0.8.20 which is not existent anymore: https://www.npmjs.com/package/xlsx

I fixed it by using the old version: react-data-export: "^0.3.7", but add xlsx: "^0.9.0" in my packages.json

thanks, I already updated the package and will publish it today.

plainnany commented 4 years ago

@securedeveloper hi, I use react-data-export@0.6.0, the question is stil existent

ipramono commented 4 years ago

@plainnany If you want to follow my workaround, here it is: I used: "react-data-export": "^0.3.7", and add: "xlsx": "^0.9.0" on the dependencies.