vtop: SyntaxError crash
Hi, I’m getting a SyntaxError crash when running vtop, the error message is as follows:
evalmachine.<anonymous>:2
vtop@0.5.7 | MIT | deps: 10 | versions: 47
^
SyntaxError: Invalid or unexpected token
at new Script (vm.js:74:7)
at createScript (vm.js:246:10)
at Object.runInNewContext (vm.js:291:10)
at safeEval (/usr/lib/node_modules/vtop/node_modules/safe-eval/index.js:13:6)
at /usr/lib/node_modules/vtop/upgrade.js:25:24
at ChildProcess.exithandler (child_process.js:273:7)
at ChildProcess.emit (events.js:182:13)
at maybeClose (internal/child_process.js:947:16)
at Process.ChildProcess._handle.onexit (internal/child_process.js:236:5)
About this issue
- Original URL
- State: closed
- Created 6 years ago
- Reactions: 30
- Comments: 15 (5 by maintainers)
Commits related to this issue
- upgrade.js: fix parsing npm info output Closes #121. — committed to williamboman/vtop by williamboman 6 years ago
- upgrade.js: fix parsing npm info output Closes #121. — committed to williamboman/vtop by williamboman 6 years ago
🤔…
Anyways, for now I’ve published
vtop-node10
which includes #123 and thus support fornode@10/npm@6
. To install:I’m having the same issue on latest version of macOS
10.13.4
, Node.js10.0.0
and npm6.0.0
.This is caused by breaking changes in
npm@6
CLI API.That worked, thanks!
On Wed, May 30, 2018 at 9:46 AM William Boman notifications@github.com wrote:
I’m having the same issue in 0.6.1
~Still failing for me.~
I ran my “update everything” script and now it’s working so… update… I have no idea why it’s working now but it is.
This is now fixed in v0.6.0. Thanks for your patience! 😃
Nope, no proxies set up. Never had any issues before with accessing npm or anything else. It’s a small company and I’m the IT manager here, and I try to keep things simple for myself because I don’t have anyone else to help if things break…
On Wed, May 30, 2018 at 9:29 AM William Boman notifications@github.com wrote: