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 '.' on node v12.22.12 #223

Closed
almas opened this issue Sep 25, 2023 · 1 comment
Closed

SyntaxError: Unexpected token '.' on node v12.22.12 #223

almas opened this issue Sep 25, 2023 · 1 comment

Comments

@almas
Copy link

almas commented Sep 25, 2023

SonarQube Local Community version 9.9

"http://localhost:9000/"

lbugs --sonartoken squ_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
file:///usr/local/lib/node_modules/sonar-report/index.js:287
    data.coverage = json.component.measures[0]?.value || 0;
                                               ^

SyntaxError: Unexpected token '.'
    at Loader.moduleStrategy (internal/modules/esm/translators.js:140:18)
$ node -v
v12.22.12
@thecampagnards
Copy link
Member

Hello, yes you need as minimal the node v14, I will release a new version so you will get a warn when install

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