Giter VIP home page Giter VIP logo

Comments (4)

pimterry avatar pimterry commented on July 26, 2024 1

Ok, perfect. I'm going to reopen this for now, just until it's fixed 'properly', but great to hear that that workaround has got you sorted in the meantime.

from httptoolkit-ui.

pimterry avatar pimterry commented on July 26, 2024 1

The server dependency is now removed! That should fix this issue completely.

If you run npm start it'll now download the latest official server release for your platform (all bundled together, with its own isolated node etc) and launch it for you. You can also launch the server separately elsewhere, any way you like, and then just use npm run start:web here to start only the UI by itself if you'd prefer.

from httptoolkit-ui.

pimterry avatar pimterry commented on July 26, 2024

I'm not sure why win-version-info won't build on your machine, but it shouldn't be necessary anyway, since they publish prebuilds... Ah, unfortunately, it looks like the version here only includes prebuilds up to Node v14, so yes for Node 18 and other recent versions you'll need an environment that can build this.

This is actually only installed & used via the HTTP Toolkit server dependency, which is very outdated because it's only actually really used for smoke testing here (and the server no longer gets deployed to npm, since that never made much sense, so it's tricky to up date).

I'm going to remove the npm dependency on the server entirely to sort that out, probably some time later this week, and then you won't need dependency at all. In the meantime, if you need this working sooner, you can either:

  • Locally remove the httptoolkit-server dependency and run the server independently yourself (see https://github.com/httptoolkit/httptoolkit-server/)
  • Use Node v14, which should work correctly using prebuilds
  • Work out what's up with the build issue here on your system (that dependency definitely did build in many environments when it was published, so this must be possible)
  • Or just wait until I remove the HTTP Toolkit server dependency and then everything should work automatically

from httptoolkit-ui.

itsyourap avatar itsyourap commented on July 26, 2024

Perfect! I just used Node v14 and built it perfectly.
Thanks a lot ✨

from httptoolkit-ui.

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.