Skip to content
This repository was archived by the owner on Sep 1, 2022. It is now read-only.
This repository was archived by the owner on Sep 1, 2022. It is now read-only.

Gettting Error while running node lib/cli.js upload command  #27

Description

@RushV

While running the command with a dirty file i am having a below issue.

Command Ran : node lib/cli.js upload --configFilePath offline-events/demo-offline-events/config-test-upload-dirty.json --inputFilePath dirtyfiles/abc.csv --accessToken $access_token --apiVersion $api_version --dataSetID $data_set_id

Error:
/lib/cli-upload.js:39
async function main() {
^^^^^^^^

SyntaxError: Unexpected token function
at exports.runInThisContext (vm.js:53:16)
at Module._compile (module.js:373:25)
at Object.Module._extensions..js (module.js:416:10)
at Module.load (module.js:343:32)
at Function.Module._load (module.js:300:12)
at Function.Module.runMain (module.js:441:10)
at startup (node.js:140:18)
at node.js:1043:3

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions