meetecho / janode

A Node.js adapter for the Janus WebRTC server
ISC License
98 stars 36 forks source link

unix_dgram doesn't seem to be optional #10

Closed augustblack closed 2 years ago

augustblack commented 2 years ago

I might be doing something wrong, but on a very basic install on linux, npm install will work, but then I get a runtime error:

Error [ERR_MODULE_NOT_FOUND]: Cannot find package 'unix-dgram' imported from node_modules/janode/src/transport-unix.js

I'm only using the websocket connection.

atoppi commented 2 years ago

Can you please provide some steps to reproduce ? This is really unexpected, we use janode installed from npm in many projects.

augustblack commented 2 years ago

I imagine it is happening because I am using typescript and need to build the project. I'll see if I can make a repro

atoppi commented 2 years ago

is this still an issue ?

augustblack commented 2 years ago

I tried to make an example, but failed. Somehow janode builds and runs fine without the unix-dgram pkg now. closing