CyberSource / CyberSource/cybersource-rest-samples-node

Syntax Error in Main package cybersource-rest-client

Open
#55 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
43
Forks
66
Avg merge
23m
Merged PRs (30d)
2

Description

/.../node_modules/cybersource-rest-client/src/authentication/logging/ExternalLoggerWrapper.js:5
extLogger;
^

SyntaxError: Unexpected token ;
at Module._compile (internal/modules/cjs/loader.js:723:23)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
at Module.load (internal/modules/cjs/loader.js:653:32)
at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
at Function.Module._load (internal/modules/cjs/loader.js:585:3)
at Module.require (internal/modules/cjs/loader.js:692:17)
at require (internal/modules/cjs/helpers.js:25:18)
at Object. (/../node_modules/cybersource-rest-client/src/authentication/logging/Logger.js:6:31)
at Module._compile (internal/modules/cjs/loader.js:778:30)

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the failure while loading the cybersource-rest-client package and inspect src/authentication/logging/ExternalLoggerWrapper.js, where the syntax error is reported. Read src/authentication/logging/Logger.js to follow how the wrapper is loaded. Done means the package can be required without this SyntaxError.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, node.js
Domain
api
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.