coinmon icon indicating copy to clipboard operation
coinmon copied to clipboard

Coinmon is not working now. Please try again later.

Open aviscode opened this issue 4 years ago • 7 comments

aviros@DESKTOP-PPPS2LQ:/mnt/c/Users/avrum$ coinmon

Coinmon is not working now. Please try again later. aviros@DESKTOP-PPPS2LQ:/mnt/c/Users/avrum$

aviscode avatar Jan 04 '21 10:01 aviscode

+1 same

aviexk avatar Jan 04 '21 17:01 aviexk

Same with me. Fresh install from the AUR,

$ coinmon -V
0.0.22

Ferryistaken avatar Jan 06 '21 13:01 Ferryistaken

Also not working on 0.0.24

Vepnar avatar Jan 06 '21 21:01 Vepnar

same on debian arm v0.0.24 installed with npm. Got a warning at the end of install: npm does not support Node.js v10.21.0

Cyrix126 avatar Jan 07 '21 15:01 Cyrix126

I just installed coinmon for the first time (Manjaro/aur) and I also go the same error. I cloned the repo and manually ran it via "node index.js" and worked through the errors.

I need to install a couple nodejs modules:

npm install commander
npm install axios

Then I needed to update the code to handle a couple null values:

diff --git a/src/index.js b/src/index.js
index db0fe1f..4d6cddc 100755
--- a/src/index.js
+++ b/src/index.js
@@ -204,9 +204,9 @@ axios.get(sourceUrl)
         const defaultValues = [
           record.rank,
           record.symbol,
-          record.price.toFixed(4),
-          getColoredChangeValueText(record.percent_change_24h.toFixed(2)),
-          record.vwap.toFixed(2),
+          record.price && record.price.toFixed(4),
+          getColoredChangeValueText(record.percent_change_24h && record.percent_change_24h.toFixed(2)),
+          record.vwap && record.vwap.toFixed(2),
           formatNumber(record.market_cap),
           formatNumber(record.supply),
           formatNumber(record.volume),

It is now working for me. I'll try to create a pull-request if I'm allowed. UPDATE: I get a permissions error when I try to push my branch, so I don't think I can create a PR.

nullman avatar Jan 17 '21 17:01 nullman

Simply run the following to resolve the above issue:

sudo apt --fix-broken install -y && sudo apt install nodejs -y && sudo apt install npm -y && sudo npm install -g coinmon

fbadenhorst5 avatar Feb 13 '21 07:02 fbadenhorst5

Also not working on 0.0.24

sudo apt --fix-broken install -y && sudo apt install nodejs -y && sudo apt install npm -y && sudo npm install -g coinmon

fbadenhorst5 avatar Feb 13 '21 07:02 fbadenhorst5