Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Syntax Error in Main package cybersource-rest-client

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

Nobody has claimed this yet.

Assessment

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

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.

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)

Dominant language
JavaScript
Stars
43
Forks
66
Avg merge
1d 8h
Merged PRs (30d)
1

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

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.

More from CyberSource/cybersource-rest-samples-node

All issues in CyberSource/cybersource-rest-samples-node

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.