question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Make iov-cli work with NodeJs 12+

See original GitHub issue

We get the error

>> (node:71798) UnhandledPromiseRejectionWarning: TypeError [ERR_INVALID_REPL_INPUT] [ERR_INVALID_REPL_INPUT]: Listeners for `uncaughtException` cannot be used in the REPL
    at process.<anonymous> (repl.js:224:15)
    at process.emit (events.js:205:15)
    at process.EventEmitter.emit (domain.js:471:20)
    at process.emit (/place/node_modules/source-map-support/source-map-support.js:461:21)
    at _addListener (events.js:226:14)
    at process.addListener (events.js:274:10)
    at Object.C.useBackupModule (/place/node_modules/libsodium/dist/modules/libsodium.js:1:1244)
    at /place/node_modules/libsodium/dist/modules/libsodium.js:1:502840
    at processTicksAndRejections (internal/process/task_queues.js:89:5)
(node:71798) 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)

after https://github.com/nodejs/node/commit/c709c524fd674f3762b3da9e005f645255bc1e2f because of code compiled into node_modules/libsodium/dist/modules/libsodium.js.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
webmaster128commented, Nov 13, 2019

There is a new version of libsodium.js available. "libsodium-wrappers": "^0.7.6", should include the fix (untested)

1reaction
webmaster128commented, Aug 15, 2019

I subscribed to https://github.com/jedisct1/libsodium.js releases. Let’s see and wait. For now we can see this as a known limitation.

Read more comments on GitHub >

github_iconTop Results From Across the Web

node-oculus - npm
node-oculus is a simple node.js addon for interfacing with the Oculus Rift DK2. Goals: Create a simple node interface to the Oculus Rift....
Read more >
Installation of Node.js and React VR - Packt Subscription
Installation of Node.js and React VR. Most desktop VR hardware currently available use Windows; because of this, the following instructions, and indeed most...
Read more >
How I created my first NodeJS-backed Augmented-Reality ...
In this post, I will revisit the development of one of the most exciting projects I have had the opportunity to develop —...
Read more >
How to patch OculusClient to automatically enable air link on ...
I made a github repository explaining how to modify OculusClient to ... npm should be run outside of the Node.js REPL, in your...
Read more >
node-oculus: Docs, Tutorials, Reviews | Openbase
node-oculus is a simple node.js addon for interfacing with the Oculus Rift DK2. Goals: Create a simple node interface to the Oculus Rift....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found