SyntaxError crash
See original GitHub issueHi, 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)
Issue Analytics
- State:
- Created 5 years ago
- Reactions:30
- Comments:15 (5 by maintainers)
Top Results From Across the Web
Startup crash: "SyntaxError: Unexpected end of JSON input"
A JavaScript error occurred in the main process Uncaught Exception: SyntaxError: Unexpected end of JSON input at JSON.parse (<anonymous>) at ...
Read more >NextJS 12 Runtime Crash - SyntaxError: Unexpected token
So the problem was due to an internal cleaning process we run and a change in the way Next 12 prints the source...
Read more >SyntaxError: JSON.parse: bad parsing - JavaScript | MDN
The JavaScript exceptions thrown by JSON.parse() occur when string failed to be parsed as JSON.
Read more >A Syntax Error Led to Crashing of KmsdBot Cryptomining Botnet
According to researchers, a syntax error caused it to stop sending commands, which destroyed the botnet. What is KmsdBot? Named by Akamai ...
Read more >Syntax error crashes entire WP site
My site had crashed totally and most likely this plugin was the cause. The admin-page.php file had a syntax error on line 18,...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
🤔…
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
.