benmarten / CryptoETF

Portfolio Overview Tool for Your CryptoCoin Capitalization-Weighted Portfolio.
Apache License 2.0
396 stars 77 forks source link

TypeError when trying to run the sample #33

Closed danishkhan closed 6 years ago

danishkhan commented 6 years ago
› node sample
Retrieving Coinmarketcap statistics...
TypeError: _Portfolio2.default.getOutput is not a function

Looking at https://github.com/benmarten/CryptoETF/blob/master/src/model/Portfolio.js there seems to be no getOutput function. Was that removed and should some other function be called there?

benmarten commented 6 years ago

Yes sorry, this is broken right now. It's already fixed in the develop branch though: https://github.com/benmarten/CryptoETF/commit/27d54ba0b279e441858b06fe19a4819e54ff56a3#diff-74828ca1f6cd74979b8cea54b3b679b7R24

benmarten commented 6 years ago

Fixed by https://github.com/benmarten/CryptoETF/releases/tag/1.6.2

benmarten commented 6 years ago

Fixed by