Skip to content

ort scanner error: IOException: Could not resolve provenance for package 'NPM:@adam-family:am-common-lib:18.3.0' for source code origins [VCS, ARTIFACT]." #9386

Closed Answered by sschuberth
AudiAlex asked this question in Q&A
Discussion options

You must be logged in to vote

But what I can see in the analyzer-result file at the section for these dependency at part of VCS an VCS_PROCESSED - is empty.

This is not necessarily a problem. If no repository was defined in your private package.json, then these fields will be empty. ORT then tries to get the source code from an NPM .tgz artifact instead.

IOException: Could not resolve provenance for package 'NPM:https://github.com/adam-family:am-common-lib:18.3.0' for source code origins [VCS, ARTIFACT]."

This means that ORT found neither a VCS repository nor an artifact that provides the source code. While you have your credentials in .npmrc, the scanner does not use NPM to download the artifacts, which means tha…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@AudiAlex
Comment options

Answer selected by AudiAlex
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants