matrix-org / matrix-hookshot

A bridge between Matrix and multiple project management services, such as GitHub, GitLab and JIRA.

Home Page:https://matrix-org.github.io/matrix-hookshot/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Docker instructions for config validation fails

mehmetalianil opened this issue · comments

When I try to validate config with the command in the docs I get an error stating Config.js is not there.

hookshot@Alnair:~$ docker run --rm -v /absolute/path/data/config.yml:/config.yml halfshot/matrix-hookshot node Config/Config.js /config.yml
node:internal/modules/cjs/loader:1078
  throw err;
  ^

Error: Cannot find module '/usr/bin/matrix-hookshot/Config/Config.js'
    at Module._resolveFilename (node:internal/modules/cjs/loader:1075:15)
    at Module._load (node:internal/modules/cjs/loader:920:27)
    at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12)
    at node:internal/main/run_main_module:23:47 {
  code: 'MODULE_NOT_FOUND',
  requireStack: []
}

Node.js v18.16.0