Skip to content
This repository has been archived by the owner on Aug 5, 2021. It is now read-only.

Does not seem work in Node #81

Open
rmst opened this issue May 29, 2021 · 0 comments
Open

Does not seem work in Node #81

rmst opened this issue May 29, 2021 · 0 comments

Comments

@rmst
Copy link

rmst commented May 29, 2021

Importing/requiring dist/libsignal-protocol.js in Node fails even though the line

  var ENVIRONMENT_IS_NODE = typeof process === 'object' && typeof require === 'function';

suggests the authors intended it to work with Node.

In addition to that, in answers to previous issues it was said that the Electron/Node-based Signal desktop client was based on this repository. How did they get it to work? I tried find out myself by checking the Signal Desktop code but found it quite confusing.

@rmst rmst changed the title Does not seem work in Node 14+ Does not seem work in Node May 29, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant