You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 11, 2020. It is now read-only.
According to --help it should just load a config file, but in fact it tries to load some kind of module:
$ ./cli.js -c config.jsonError: Cannot find module 'config.json' at Function.Module._resolveFilename (module.js:339:15) at Function.Module._load (module.js:290:25) at Module.require (module.js:367:17) at require (internal/module.js:20:19) at Object.<anonymous> (/.../node_modules/img.bi-server/cli.js:13:14) at after (/.../node_modules/cli/cli.js:1057:18) at Object.cli.main (/.../node_modules/cli/cli.js:1062:9) at Object.<anonymous> (/.../node_modules/img.bi-server/cli.js:10:5) at Module._compile (module.js:413:34) at Object.Module._extensions..js (module.js:422:10) at Module.load (module.js:357:32) at Function.Module._load (module.js:314:12) at Function.Module.runMain (module.js:447:10) at startup (node.js:148:18) at node.js:405:3
It only works when I'll specify the path like this:
$ ./cli.js -c ./config.json
It should however handle both cases.
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
According to
--help
it should just load a config file, but in fact it tries to load some kind of module:It only works when I'll specify the path like this:
$ ./cli.js -c ./config.json
It should however handle both cases.
The text was updated successfully, but these errors were encountered: