-
Notifications
You must be signed in to change notification settings - Fork 103
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot build on Windows 11 #68
Comments
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:
|
Perfect! I just used Node v14 and built it perfectly. |
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. |
The server dependency is now removed! That should fix this issue completely. If you run |
…_yarn/json5-1.0.2 Bump json5 from 1.0.1 to 1.0.2
I was trying to compile and run httptoolkit-ui following the instructions in the README, but
npm install
gives me build errors. I tried to investigate the issue and found that it is due to a dependencywin-version-info
which uses deprecated C++ features according to this.Here is the terminal output:-
2023-03-04T09_12_17_474Z-debug-0.log
How do I fix these errors and compile this?
Thanks in advance
The text was updated successfully, but these errors were encountered: