benmarten / CryptoETF

Portfolio Overview Tool for Your CryptoCoin Capitalization-Weighted Portfolio.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

TypeError when trying to run the sample

danishkhan opened this issue · comments

› 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?

Yes sorry, this is broken right now. It's already fixed in the develop branch though: 27d54ba#diff-74828ca1f6cd74979b8cea54b3b679b7R24

Fixed by