Closed starbug8866 closed 9 years ago
Hi starbug, (edit: when commenting) you can wrap your console output in 3 backticks (```) to prevent it from being interpreted as markdown. The error states, that a linux shell is needed. So cygwin is the right path. You could also use the GitShell from GitHub for Windows. The package doesn't seem to work on node >= 0.11. Try with node 0.10, that works for me.
Since you wrote you're new to node, it might be nice to know there is a tool to switch node versions. https://github.com/coreybutler/nvm-windows
Wow, thanks for the quick reply. I will give it go.
Hi @starbug8866
If you trying to install by npm install xbox-controller
on windows like @bwin said you can use git shell to do this. But before this you need install Visual Studio 2013 (for windows 8 and 8.1) because xbox-controller
uses node-hid
that uses node-gyp
to build the C++ addon.
These links can be usefl:
Thanks mapaiva! That worked
Hi,
I'm pretty new to node.js but I want to use my xbox controller with my app. However, I hit the following issue when trying to install:
Registry url: https://registry.npmjs.org/ Current Time: 26/02/2015 11:29:05 AM Last Refreshed: 26/02/2015 8:27:25 AM Number of Results: 135668 ====Executing command 'npm install xbox-controller --save '====
npm WARN package.json NodejsConsoleApp2@0.0.0 No repository field.
====npm command completed with exit code 1====
Hopefully, it's something obvious I am doing wrong. I tried installing Cygwin to overcome the problem but that seemed to open up more issues.
Any help is greatly appreciated.
Thanks