Closed zackees closed 1 year ago
Have you tried?
npm i node-pre-gyp -g
On windows what error do you have?
So the update is that your suggestion and another fixed it. So in total it was
npm -i node-pre-gyp
npm -i node-gyp
# This now works
npm install webtorrent-hybrid -g
Can these libs be included in the npm requirements for this project? (Sorry I'm more of a python programmer I don't know what the exact terminology is).
Is this still relevant? If so, what is blocking it? Is there anything you can do to help move it forward?
nothing has been done and this is still relevant.
This is not an issue with the library itself, but rather wrtc
having no prebuilt binaries
Then why does
npm -i node-pre-gyp
npm -i node-gyp
Fix it? Sorry I'm not that familiar with node. I could be mistaken, but it seems like there are some missing libraries that need to be specified for the build to succeed.
Is this still relevant? If so, what is blocking it? Is there anything you can do to help move it forward?
Just tried this install setup again and still hit the bug. It appears that node-pre-gyp
and node-gyp
need to be listed in the package lock file.
Is this still relevant? If so, what is blocking it? Is there anything you can do to help move it forward?
What version of this package are you using? Latest
What operating system, Node.js, and npm version? Ubuntu 20/Win10, npm is 8.3.0
What happened?
Windows gives this error as does Ubuntu.
After this error I ran
sudo apt install node-pre-gyp
and after this I get the following error (in Ubuntu)And I can confirm that I do indeed have
nodejs
installed on my system.Neither Ubuntu nor Windows allows me to run webtorrent-hybrid -g
What did you expect to happen? The app to run without problem
Are you willing to submit a pull request to fix this bug? No