github / github/codeql

ERROR: Could not resolve module javascript.

Open
#4,280 1 comment 3 reactions 0 assignees View on GitHub
JS question
Dominant language
CodeQL
Stars
10.1k
Forks
2.1k
Avg merge
2d 15h
Merged PRs (30d)
141

Description

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?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.