Installing in a Ubuntu docker image #984
Replies: 3 comments 3 replies
-
anyone ? apologize if my question is naive but I tried my best |
Beta Was this translation helpful? Give feedback.
-
Ok i made it work, to install and run from a Ubuntu docker image, here is my working docker file
It's not ideal because there's a 60 second wait during the deb.nodesource.com setup that i didn't take the time to solve, but it works. and main.js should contain the example in the readme, |
Beta Was this translation helpful? Give feedback.
-
Still facing this issue, no matter what I try I get the "Cannot find module 'uWebsockets.js' or its corresponding type declarations." |
Beta Was this translation helpful? Give feedback.
-
Hi,
I'm trying to install uWebSockets.js on a vanilla Ubuntu docker image, in which I installed node
When running the container, I get the error
Here's my dockerfile
During the creation process, i can see the message
installed uWebSockets.js@github:uNetworking/uWebSockets.js#c10b47c
Which seems to say that uWebSockets has been correctly installed
I'd went to the
node_modules
folder to confirm if theuWebSockets.js
folder is there,The command
which node
returns/usr/bin/node
and
cd /usr/bin/node
returnscan't cd to /usr/bin/node
as if it's a problem of access right
The content of
main.js
is the same as the example in thereadme
.Any idea of how to troubleshoot this ?
Thanks in advance.
Beta Was this translation helpful? Give feedback.
All reactions