Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problema no parâmetro --config no server-cli #105

Closed
darcyjunior opened this issue Nov 6, 2021 · 1 comment
Closed

Problema no parâmetro --config no server-cli #105

darcyjunior opened this issue Nov 6, 2021 · 1 comment

Comments

@darcyjunior
Copy link

O server-cli ignora o parâmetro --config para adicionar o path para o arquivo config.json

https://github.com/wppconnect-team/server-cli/blob/main/src/program.js

@comercializze
Copy link

TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string or an instance of Buffer or URL. Received type boolean (true)
at Object.openSync (node:fs:577:10)
at Object.readFileSync (node:fs:453:35)
at Object.run (/usr/local/lib/node_modules/@wppconnect/server-cli/dist/index.js:35:164)
at Object. (/usr/local/lib/node_modules/@wppconnect/server-cli/bin/wppserver.js:20:8)
at Module._compile (node:internal/modules/cjs/loader:1275:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1329:10)
at Module.load (node:internal/modules/cjs/loader:1133:32)
at Module._load (node:internal/modules/cjs/loader:972:12)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:83:12)
at node:internal/main/run_main_module:23:47 {
code: 'ERR_INVALID_ARG_TYPE'
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants