Skip to content

Problem with installing additional dependencies #12048

Answered by aeisenberg
mutasDev asked this question in Q&A
Discussion options

You must be logged in to vote

The problem that you are facing is that the query pack you are trying to run depends on codeql/suite-helpers@0.4.1 (possibly a transitive dependency). I'm not entirely sure what context you are running your queries in and if they are in a query pack right now (look for a qlpack.yml or codeql-pack.yml file in the directory or a parent).

If there is no file, create one and add the minimal content:

name: hucairz
dependencies:
  - codeql/python-all: "*"

In the directory containing this file, run the command:

codeql pack install

This will download and install all dependencies of your pack, including transitive dependencies. Then you can re-run your queries.

More information about codeql pack…

Replies: 1 comment 14 replies

Comment options

You must be logged in to vote
14 replies
@aeisenberg
Comment options

@mutasDev
Comment options

@mutasDev
Comment options

@aeisenberg
Comment options

@mutasDev
Comment options

Answer selected by mutasDev
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