mirror of
https://github.com/jehna/humanify.git
synced 2026-04-27 01:26:00 +03:00
[GH-ISSUE #10] Can not get it run on windows #9
Labels
No labels
bug
enhancement
pull-request
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/humanify#9
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @aaronegger on GitHub (Mar 21, 2024).
Original GitHub issue: https://github.com/jehna/humanify/issues/10
Hi there,
i can't get this run on windows.
I am stuck at this:
"Error: No native build was found for platform=win32 arch=x64 runtime=node abi=120 uv=1 libc=glibc node=21.7.1
loaded from: G:\AIZeug\humanify-main\node_modules\zeromq"
Is there any chance to get this running on windows without using wsl?
There was also an issue with the current node version and i had to change the start script to "tsx src/index.ts", otherwise it complained about not knowing the file extension ".ts".
@jehna commented on GitHub (Jun 19, 2024):
Unfortunately I don't have any good way to develop on Windows at the moment, so cannot guarantee any support for that platform.
Zeromq does claim it should work on Windows too, so not sure what the issue here is 🤔
@jehna commented on GitHub (Jun 19, 2024):
I'll mark this as wonrfix for now, but I'll be happy to accept any pull requests that fix the windows support
@0xdevalias commented on GitHub (Jun 19, 2024):
@jehna While it wouldn't make for the best dev workflow, I wonder if adding some basic cross-platform build tests on GitHub actions would help highlight/protect against these sorts of issues?
@0xdevalias commented on GitHub (Jun 19, 2024):
Unsure if this is relevant, since theoretically it should have binaries from
prebuild:@j4k0xb commented on GitHub (Jun 19, 2024):
I think that explains it: https://unpkg.com/browse/zeromq@5.3.1/prebuilds/win32-x64/
The prebuilt binaries only exist up to node v18
zeromq.js v6 uses N-API and should fix the issue
@0xdevalias commented on GitHub (Jun 19, 2024):
Yeah, I was just about to say, the script in the
package.jsonlists the following:@JxxIT commented on GitHub (Jul 13, 2024):
I'm having this too on macos, did anyone fix this?
@0xdevalias commented on GitHub (Jul 15, 2024):
@JxxIT I believe the solution is probably "use an older version of node that the zeromq.js binaries are built for"
And maybe when upstream releases v6 it will solve it more specifically:
So perhaps you could try one of the v6 betas (though there might be other breaking changes required to do so):
It looks like the latest version of node has been supported in the build scripts since
v6.0.0-beta.9:Or maybe even
v6.0.0-beta.8:@JxxIT commented on GitHub (Jul 15, 2024):
@0xdevalias Wow, thanks! It worked for me.
@aminya commented on GitHub (Jul 15, 2024):
I recommend using the latest beta version of zeromq until we fully release v6
@JxxIT commented on GitHub (Jul 15, 2024):
@aminya Sorry for this stupid question: Do you have an eta for v6?
@jehna commented on GitHub (Aug 12, 2024):
Zeromq not needed anymore since v2 was released, should work now on Windows.
I think I could add some e2e test for running on Windows, as GH runners have a windows host too 🤔
@neoOpus commented on GitHub (Sep 18, 2024):
If anyone still cannot make it work in Windows then my suggestion is to use WSL, it works with a couple of tweaks (I didn't test with GPU yet)