Comments (14)
I just pushed a fix to the test
branch. Can you check out the branch and run npm install
to test if it worked? I can't replicate your issue unfortunately, since the project builds fine with and without the fix for me.
from node-vigemclient.
Im not on the pc yet, but i've tried installed python, installed the driver, still gives an error when installing, it's probably something to do with the file of x360e and dualshock 4. Will try to install it later.
from node-vigemclient.
x360ce has nothing to do with this library. The error you are seeing is the compiler complaining about a missing type-cast, which I added in the test
branch. You might want to try to install the windows build tools if you haven't already (npm install -g windows-build-tools
), but I would still be happy if you would check if my fix worked so that I can put it into the next release.
from node-vigemclient.
I tried to npm install -g windows-build-tools
and then npm install vigemclient
still error
trying npm install git://github.com/jangxx/node-ViGEmClient.git#test --save still doesn't work
from node-vigemclient.
I tried to npm install -g windows-build-tools
and then npm install vigemclient
If you look in your screenshot, it clearly says Could not install Visual Studio Build Tools
in red at the top there. I don't know why the installation fails of course, but maybe the reason is related to your problem with this library.
trying npm install git://github.com/jangxx/node-ViGEmClient.git#test --save still doesn't work
Could you please provide the error message? It has to be different from your original one, since I changed the specific things the compiler didn't like about it.
Also related to your screenshot: Are you on 32-bit windows? The log above indicates that node-gyp
is copying the 32-bit version of the vigemclient.dll, which means it thinks you are using a 32-bit system. If you are actually on 64-bit you might want to find out why it's detecting that wrongly and if you are on 32-bit you might want to upgrade to 64-bit, since 32-bit operating systems and software are being phased out for years now. I only included the 32-bit DLLs for completeness sake anyway, and I might drop support for it altogether in the future, since no one uses 32-bit operating systems anymore.
from node-vigemclient.
I'm on Windows 10 64 Bit
from node-vigemclient.
And i have Visual Studio Community
from node-vigemclient.
Node JS v12.14.0
from node-vigemclient.
Apparently you don't have git installed, so you need to install it.
Also you might want to reinstall Node.js and install the 64-bit version. I'm guessing you have the 32-bit version installed and that's the reason for npm copying the 32-bit DLL instead of the 64-bit one. You can run node -p "process.arch"
to test which version you have installed.
from node-vigemclient.
when i type node -p "process.arch" it responded ia32
from node-vigemclient.
That's what I thought. Please install the x64 version of Node and then try installing the windows-build-tools
again. It might just work without any further changes.
from node-vigemclient.
yeah, i dunno why it used the 32bit, i remember i downloaded the recommended one. I will try to install it again with the new 64Bit
from node-vigemclient.
from node-vigemclient.
Looks great, It seems like we don't even need the other fixes.
from node-vigemclient.
Related Issues (10)
- Something is wrong with the feeder HOT 11
- Installed and Built but having issues resolving build files HOT 1
- create x360 controller not returning ViGEmTarget
- when trying to install with npm it gives a bunch of errors about visual studio HOT 1
- USB Vendor and Product ID setting doesn't take effect HOT 5
- Disconnecting a Controller causes segmentation fault HOT 7
- Left trigger and right trigger for xBox controller? HOT 2
- The button didn't detected even though i already set the value to true HOT 2
- Trouble Connecting to Client HOT 12
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from node-vigemclient.