Skip to content

Syntax error in index.js in v:2.17.0 #842

@kavishshah

Description

@kavishshah

/scratch3/kavish/local_runs/nightly_2018_08_03/hw/node_modules/hw_scripts/node_modules/commander/index.js:663
if (this._args.filter(a => a.required).length === 0) {
^^
SyntaxError: Unexpected token =>
at exports.runInThisContext (vm.js:53:16)
at Module._compile (module.js:429:25)
at Object.Module._extensions..js (module.js:464:10)
at Module.load (module.js:341:32)
at Function.Module._load (module.js:296:12)
at Module.require (module.js:351:17)
at require (module.js:370:17)
at Object. (/scratch3/kavish/local_runs/nightly_2018_08_03/hw/node_modules/hw_scripts/qrsim.js:8:11)
at Module._compile (module.js:446:26)
at Object.Module._extensions..js (module.js:464:10)

Facing this error after version 2.17.0, things were fine in 2.16.0 and before.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions