Can't install on Windows using an Administrator user #353
Replies: 1 comment 2 replies
-
@0xdevalias I run some tests on the latest version ( From the logs you attached, I think there's something wrong in the installation on the user machine, whether it's npm that hasn't installed the prebuilt binaries properly (maybe they're using some npm mirror that doesn't work as expected), maybe it's related to permissions on the machine itself (like running From the linked issue I can see in the logs that it attempted to fallback to building from source, and since CMake is not installed on the user's machine, it tried to call
The
What I would suggest to try to fix this issue would be:
Before doing all of the above, it would be helpful if you can check if |
Beta Was this translation helpful? Give feedback.
-
This comes from an issue a user opened on the
humanify
repo:And after some debugging/exploration, it seems it is related to
node-llama-cpp
:I think it might be a permissions/antivirus/similar sort of a problem, but I haven't used windows as a dev machine in MANY years, so I'm not too sure of what the 'common pitfalls' are with using node on it these days.
I figured I would open a discussion here as well, so that at the very least, if someone else runs into similar with
node-llamma-cpp
in future, at least these errors will show up when searching.I believe this is the main part of the 'breaking errors':
Though this part also may help indicate aspects of the issue:
You can see my full deep dive into tracing the code/source of the error/musing on the potential reasons in this comment:
But this was sort of my summary conclusion based on what I had seen so far:
Beta Was this translation helpful? Give feedback.
All reactions