Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SyntaxError: Unexpected token #269

Open
sherknil opened this issue Jun 21, 2024 · 1 comment
Open

SyntaxError: Unexpected token #269

sherknil opened this issue Jun 21, 2024 · 1 comment

Comments

@sherknil
Copy link

Getting below error while generating sonar report

sonarqube version: 10.2.1

H:\Agents\Agent002_work_tool\node\10.14.2\x64\node_modules\sonar-report\cli.js:2
import { buildCommand, generateReport } from "./index.js";
^

SyntaxError: Unexpected token {
at new Script (vm.js:79:7)
at createScript (vm.js:251:10)
at Object.runInThisContext (vm.js:303:10)
at Module._compile (internal/modules/cjs/loader.js:657:28)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:700:10)
at Module.load (internal/modules/cjs/loader.js:599:32)
at tryModuleLoad (internal/modules/cjs/loader.js:538:12)
at Function.Module._load (internal/modules/cjs/loader.js:530:3)
at Function.Module.runMain (internal/modules/cjs/loader.js:742:12)
at startup (internal/bootstrap/node.js:282:19)

@cwilli-it
Copy link
Contributor

upgrade node.js and try again?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants