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

TypeError: _repl.clearBufferedCommand is not a function #160

Open
ChristianPyth opened this issue Jul 24, 2020 · 1 comment
Open

TypeError: _repl.clearBufferedCommand is not a function #160

ChristianPyth opened this issue Jul 24, 2020 · 1 comment

Comments

@ChristianPyth
Copy link

Description

Prints out error [DEP0018]
christian@Flamethrower:~$ messer
Logging in...
Successfully logged in as censored
m censored test
(node:3552) UnhandledPromiseRejectionWarning: TypeError: _repl.clearBufferedCommand is not a function
at Object.log (/usr/local/lib/node_modules/messer/src/messer/repl.js:21:9)
at processCommand.then.catch.err (/usr/local/lib/node_modules/messer/src/messer/index.js:115:20)
at
at runMicrotasksCallback (internal/process/next_tick.js:121:5)
at _combinedTickCallback (internal/process/next_tick.js:131:7)
at process._tickDomainCallback (internal/process/next_tick.js:218:9)
(node:3552) 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:3552) [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.

Steps to Reproduce

  1. Log in
  2. Write a message
  3. Error

Expected behavior: Work

Actual behavior: Don't work

Versions

Run and copy-paste the results of the following:

  • npm -v = 3.2.5
  • node -v 8.10.0
  • messer -v 0.7.3

Ubuntu Mate 18.04

Additional Information

Not sure

@trfd
Copy link

trfd commented Jul 24, 2020

I get the exact same error on Windows 10 for any messer command.
I tried it from a new clean install.
Configuration

  • Windows 10 (1903)
  • npm -v 5.6.0
  • node -v v8.9.4
  • messer -v 0.7.3
    (Edit: complete repro with messer 0.7.2 and 0.7.1)

@tomquirk tomquirk changed the title [DEB0018] Error TypeError: _repl.clearBufferedCommand is not a function May 24, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants