rafaelwdornelas / Foxbit_Bot

Bot Automatic Trader Foxbit - Buy & Sell.
72 stars 55 forks source link

Não inicia a aplicação #10

Open jayrorodrigues opened 7 years ago

jayrorodrigues commented 7 years ago

Olá, @rafaelwdornelas.

Segui a orientação e estou tendo um problema com o "start". Está ocorrendo o erro:

Description: Buy and sell automatic foxbit exchange Version: 2.0.0

Connected BlinkTradeWS (node:8908) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): TypeError: Cannot convert undefined or null to object (node:8908) 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.

Conforme informou acima, como um erro da API, não está abrindo o navegador e mesmo testando na URL(localhost:3000) não está sendo exibido.

Estou usando a mesma versão do Node.js do vídeo. Agradeço a ajuda, e espero em breve contribuir.

eduardofx commented 7 years ago

Bom dia. Tenta usar o Node mais recente.

mrcolv commented 7 years ago

@eduardofx Você conseguiu rodar? O meu apresenta um erro estranho mesmo depois de atualizar o código do index.js com a sua correção.

Segue parte do erro:

Description: Buy and sell automatic foxbit exchange Version: 2.0.0


(node:15004) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): undefined (node:15004) [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.

eduardofx commented 7 years ago

sim .. rodou, mas quando executo pela segunda ou terceira vez ele dá algum problema ....

mrcolv commented 7 years ago

@eduardofx ja tentei em 2 PC's distintos, o problema persiste, o que é muito estranho... Baixei inclusive, do seu fork. Fiz o npm install, configurei a chave, e dei o npm start.

Segue o erro:

Description: Buy and sell automatic foxbit exchange Version: 2.0.0

(node:6224) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejec tion id: 1): undefined (node:6224) [DEP0018] DeprecationWarning: Unhandled promise rejections are depre cated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

Não sei se mudou algo na API desde a sua atualização, talvez possa ser algo do gênero.

matdornela commented 6 years ago

Olá @eduardofx, a aplicação ainda está funcionando? Está acontecendo esse mesmo erro comigo: UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1)