Skip to content

async and await keywords throwing syntax error #1272

@the8thbit

Description

@the8thbit
  • Node.js Version: 10.1.0
  • OS: Ubuntu GNU/Linux subsystem on Windows 10
  • Scope (install, code, runtime, meta, other?): syntax error

I get this error when using the await and async keywords:

SyntaxError: missing ) after argument list

Sample code:

console.log(await client.time());

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions