Closed Sleedyak closed 6 years ago
I've been stuck with that error for months now and almost abandoned vtop :disappointed:
But I've just found the issue: in upgrade.js, the shell command npm --color=false info vtop
is ran and its output is fed into safe-eval, as it's expected that the npm-view
output should be a JSON. But the behavior changed as of v8, and now, to get a JSON output, a --json
flag must be given (e.g. npm --color=false info vtop --json
).
The good news is that this should be an easy fix. I'll just examine v7 compatibility with the new json flag and probably land a PR.
Actually, that seems like a duplicate of #121 and the #123 PR should fix it. @Sleedyak, check out the vtop-node10
package published by @williamboman as a temporary fix.
This is now fixed in v0.6.0. Thanks for your patience! :)
I've recently found about vtop, and from what I've seen it looked really cool. But after like 1 second of launching, the following error occured: