question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Error at Startup...[Welp]

See original GitHub issue

Im getting this error at startup help pls /home/cabox/workspace/i/src/modules/CommandList.js:821 Logger.print("Average score: " + (scores.reduce((x, y) => x + y) / sco ^^ SyntaxError: Unexpected token => at exports.runInThisContext (vm.js:73:16) at Module._compile (module.js:443:25) at Object.Module._extensions..js (module.js:478:10) at Module.load (module.js:355:32) at Function.Module._load (module.js:310:12) at Module.require (module.js:365:17) at require (module.js:384:17) at Object.<anonymous> (/home/cabox/workspace/i/src/index.js:3:16) at Module._compile (module.js:460:26) at Object.Module._extensions..js (module.js:478:10)

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:14

github_iconTop GitHub Comments

1reaction
Luka967commented, Mar 25, 2017

ES6 arrow function notation isn’t supported in older versions of node.js. Either update its version or replace (x, y) => x + y with function(x, y) { return x + y; }.

0reactions
retrosceptercommented, Mar 26, 2017

I recommend digitalocean @Mr-BrockLee

Read more comments on GitHub >

github_iconTop Results From Across the Web

( FIXED ) Game keeps crashing on startup, welp! :: Men of War
( FIXED ) Game keeps crashing on startup, welp! So, it all started with me upgrading to Windows 10. I know, i'm behind...
Read more >
VStudio 19 Crashes on Startup, Please welp! - MSDN - Microsoft
Tried so far: 1. Rebooting PC. 2. Repair via VS installer. 3. Uninstalled and Installed several times. 4. Update (current update). 5. And...
Read more >
Macos startup errors · Issue #10 · nvim-neorg/tree-sitter-norg · GitHub
M1 startup error nvim-treesitter[norg]: Error during compilation Undefined symbols for architecture ... Macos startup errors #10 ... Welp, that's not good.
Read more >
Error on startup : r/pokemonzetaomicron - Reddit
It's installed properly. I have Avast!, however I had no problems with 1.2.x, and this has only started happening as of 1.3.2.
Read more >
getting error at startup HELP | [H]ard|Forum
Welp, your cmos battery may be dead. First and foremost you need to get into the bios and make sure everything is set...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found