Skip to content

ERROR: Could not resolve module javascript.  #4280

@majidmc2

Description

@majidmc2

Hi, I used this command to analyze databases with the CodeQL CLI:
$../codeql/codeql database analyze test-db ql.ql --format=csv --output=js-analysis.csv

but I got this error:
Running queries. Compiling query plan for /home/test/Desktop/Ch51/ql.ql.
ERROR: Could not resolve module javascript. There should probably be a qlpack.yml file declaring dependencies in /home/test/Desktop/Ch51 or an enclosing directory. (/home/test/Desktop/Ch51/ql.ql:2,8-18)
ERROR: Could not resolve type SimpleParameter (/home/test/Desktop/Ch51/ql.ql:4,6-21)

What is the problem?

Metadata

Metadata

Assignees

No one assigned

    Labels

    JSquestionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions