Skip to content

i found a bug trying to install whatsapp-web.js #4793

@CesaltinoFelix

Description

@CesaltinoFelix

Prerequisites

  • Write a descriptive title.
  • Make sure you are able to repro it on the latest released version
  • Search the existing issues, especially the pinned issues.

Exception report

Last 67 Keys:
 n p m Space i n s t a l l Space w h a t s a p p - w e b . j s Space q r c o d e - t e r m i n a l Space d o t e n v Space c o r s Space e c Backspace x p r e s s Enter
 Ctrl+l

Exception:
System.ArgumentOutOfRangeException: O valor tem de ser superior ou igual a zero e inferior ao tamanho da memória intermédia da consola 
nessa dimensão.
Nome do parâmetro: top
O valor real é -1.
   em System.Console.SetCursorPosition(Int32 left, Int32 top)
   em Microsoft.PowerShell.PSConsoleReadLine.ProcessOneKey(ConsoleKeyInfo key, Dictionary`2 dispatchTable, Boolean ignoreIfNoAction, Object arg)
   em Microsoft.PowerShell.PSConsoleReadLine.InputLoop()
   em Microsoft.PowerShell.PSConsoleReadLine.ReadLine(Runspace runspace, EngineIntrinsics engineIntrinsics)
-----------------------------------------------------------------------
PS D:\cefelix-chat-whatsapp-inteligente>

Screenshot

Image

Environment data

PS Version: 5.1.19041.5965
PS HostName: ConsoleHost
PSReadLine Version: 2.0.0-beta2
PSReadLine EditMode: Windows
OS: 10.0.19041.1 (WinBuild.160101.0800)
BufferWidth: 135
BufferHeight: 33

Steps to reproduce

npm install whatsapp-web.js qrcode-terminal dotenv cors express

Expected behavior

install all de packeges

Actual behavior

Last 67 Keys:
n p m Space i n s t a l l Space w h a t s a p p - w e b . j s Space q r c o d e - t e r m i n a l Space d o t e n v Space c o r s Space e c Backspace x p r e s s Enter
Ctrl+l

Exception:
System.ArgumentOutOfRangeException: O valor tem de ser superior ou igual a zero e inferior ao tamanho da memória intermédia da consola
nessa dimensão.
Nome do parâmetro: top
O valor real é -1.
em System.Console.SetCursorPosition(Int32 left, Int32 top)
em Microsoft.PowerShell.PSConsoleReadLine.ProcessOneKey(ConsoleKeyInfo key, Dictionary`2 dispatchTable, Boolean ignoreIfNoAction, Object arg)
em Microsoft.PowerShell.PSConsoleReadLine.InputLoop()
em Microsoft.PowerShell.PSConsoleReadLine.ReadLine(Runspace runspace, EngineIntrinsics engineIntrinsics)

PS D:\cefelix-chat-whatsapp-inteligente>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions