throneless-tech / libsignal-service-javascript

A javascript library for basic interaction with the Signal messaging service, adapted from Signal-Desktop.
GNU General Public License v3.0
57 stars 21 forks source link

No module named ligsiangl-service #9

Closed LithiumNL closed 3 years ago

LithiumNL commented 4 years ago

Hi,

I am probably doing something wrong but i don't know what. After creating a new clean dir I npm installed your lib: npm install --save @throneless/libsignal-service After that I used a terminal to open node and typed: const Signal = require('libsignal-service') Imidiatly after that i get the error module not found. After looking into the nod_modules folder i can see the module. What am i doing wrong? I was hoping that someone could help me out with this silly question.

michaelkebe commented 3 years ago

This works for me:

const Signal = require('@throneless/libsignal-service');