GithubHelp home page GithubHelp logo

Cant install about httptoolkit-server HOT 2 CLOSED

httptoolkit avatar httptoolkit commented on May 18, 2024
Cant install

from httptoolkit-server.

Comments (2)

pimterry avatar pimterry commented on May 18, 2024 1

This issue is because the server includes a native module (actually, a few) which doesn't build on your machine because you don't have the native build environment that it expects available.

This shouldn't normally matter, because all the native modules we use include prebuilds, so that when the install happens, it just automatically downloads a prebuilt version that matches your system from the internet, and you don't need to manually build it.

In this case though, you're using node v18, and the version of node-datachannel we use only has prebuilds up to node v17.

Fairly soon, we're going to update that library and this will go away. In the meantime, you can fix this yourself by either:

  • Using Node v16 (which is still an officially maintained release until late 2023) - this is what the server uses in normal releases
  • Setting up a working local build environment (in this case, it looks like you don't have OpenSSL libraries available anywhere, which is why this is failing) so that the compilation is successful
  • Run npm update node-datachannel to update to at least v0.3.5+, which do include prebuilt binaries for node v18 & v19.

from httptoolkit-server.

bbdwbayu avatar bbdwbayu commented on May 18, 2024

Thank you!

from httptoolkit-server.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.