Error in npm sonar-scanner with pnpm catalog (sonarjs/S6957)

Hi @riddleit,

this seems to come from semver (here), which we use to know the user’s version of react.

We don’t correctly support pnpm, so that’s indeed the reason. Can you share your package.json contents?

This should be fixable by using a semver string for react in your package.json dependencies field.

I created a ticket to not fail the analysis if semver throws.

Thanks

1 Like