Pigpog / vlc-discord-rpc

Discord rich presence for VLC media player.
MIT License
206 stars 31 forks source link

SyntaxError: Unexpected identifier #13

Closed melowody closed 6 years ago

melowody commented 6 years ago

Describe the bug Running rpc.js after following instructions yields the error shown in Terminal output

To Reproduce Steps to reproduce the behavior:

  1. Install and follow instructions
  2. Error

Terminal output

PATH\node_modules\discord-rich-presence\node_modules\discord-rpc\src\Client.js:128
    async login(options = {}) {
          ^^^^^

SyntaxError: Unexpected identifier
    at Object.exports.runInThisContect (vm.js:76:16)
    at Module._compile (module.js:542:28)
    at Object.Module._extensions..js (module.js:579:10)
.
.
.

Your Setup:

Additional context N/A

Pigpog commented 6 years ago

Tested solution: Update node to at least version 8.11.4, preferably the latest version.