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

instalação nova...erro ao iniciar o projeto. #50

Closed
thiagotoneli opened this issue Mar 10, 2021 · 2 comments
Closed

instalação nova...erro ao iniciar o projeto. #50

thiagotoneli opened this issue Mar 10, 2021 · 2 comments

Comments

@thiagotoneli
Copy link

thiagotoneli commented Mar 10, 2021

"Fiz a instalação do zero e execultei o node index.js...apos

resultado:

root@taj:/home/taj/myzap# node index.js
Http server running on port 3000

image

Apos isso fui no browser e coloquei

http://localhost:3000/start?sessionName=session1

resultado:

For more info visit: https://github.com/orkestral/venom/blob/master/Update.md

  • There is a new version available
  • Waiting... checking the browser...
  • There is a new version available
  • Error no open browser....
    (node:12608) UnhandledPromiseRejectionWarning: Error no open browser....
    (node:12608) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 2)
    (node:12608) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

image

Sou leigo no assunto mas acho que deu erro alguem pode me ajudar?

@thiagotoneli thiagotoneli changed the title instalação nova...erro ai iniciar o projeto. instalação nova...erro ao iniciar o projeto. Mar 10, 2021
@Advansoftware
Copy link
Contributor

Advansoftware commented Mar 10, 2021

Tenta rodar "npm update venom-bot" depois da uma atualizada na versão do seu node.js....
depois q fizer tudo, tenta rodar e me diz o que deu! valeu u.u
Com tudo atualizado está tranquilo....
mas um detalhe importante isso é só um aviso, não um erro, ou seja, o seu servidor esta rodando, eu preciso saber como esta seu ambiente, parece q vc esta rodando em um servidor externo, recomendo vc colocar o seguinte:

  • http://ip_do_seu_servidor:3000/start?sessionName=session1.
  • substituindo pelo ip do seu servidor.
  • provavelmente na hora de gerar o qrcode, vc vai precisar substituir também o localhost pelo ip do seu servidor
  • detalhe importante, para vc enviar mensagem deve ser pelo método POST, e não GET

@danielpinon
Copy link
Contributor

Com essa nova atualização tente fazer o git pull, rm -rf node_modules, npm install e node index.js para testar se está funcionando! Se caso estiver feche a issue.

@jhowbhz jhowbhz closed this as completed Nov 9, 2021
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

4 participants