klemen
(klemen)
1
With latest version sonarqube-scanner@4.3.3 we get error when running analysis on our projects:
/usr/bin/bash: line 196: sonar-scanner: command not found
$ npm install -g sonarqube-scanner
$ sonar-scanner
/usr/bin/bash: line 196: sonar-scanner: command not found
Works with older versions (sonarqube-scanner@4.3.2)
EDIT: also trying
$ npx @sonar/scan
npm warn exec The following package was not found and will be installed: @sonar/scan@4.3.3
sh: 1: sonar: not found
But it also fails.
Best regards. Klemen
I try https://www.npmjs.com/package/sonarqube-scanner
$ npx @sonar/scan
npm warn exec The following package was not found and will be installed: @sonar/scan@4.3.3
sh: 1: sonar: not found
klemen
(klemen)
3
It also fails with installing @sonar/scan globally and running sonar command
$ npm install -g @sonar/scan
$ sonar
/usr/bin/bash: line 196: sonar: command not found
2 Likes
ganncamp
(G Ann Campbell)
6
Hi all,
Welcome to the community and thanks for these reports!
I’ve raised the alarm internally. We’re on it. I’ll update you here when we know something.
Ann
ganncamp
(G Ann Campbell)
7
Hi all,
We’re going to update latest to point back to 4.3.2, which will give us breathing room to figure out the problem.
Ann
1 Like
ganncamp
(G Ann Campbell)
8
Hi again,
This move is done, so it should work for you again.
In the meantime, we spotted the problem and are working on putting out a fix.
Thx,
Ann
Nick_Heath
(Nick Heath)
11
Hi Ann,
It looks like the sonarqube-scanner package was reverted to 4.3.2, but not the sonar/scan one, causing migrated setups to still fail.
https://www.npmjs.com/package/sonarqube-scanner
https://www.npmjs.com/package/@sonar/scan
2 Likes