Skip to content
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

I'm getting a bunch of warnings followed by errors #9

Open
RHill051 opened this issue Nov 22, 2021 · 2 comments
Open

I'm getting a bunch of warnings followed by errors #9

RHill051 opened this issue Nov 22, 2021 · 2 comments

Comments

@RHill051
Copy link

When I run the command "sudo npm install -g cncjs-pendant-ps3 --unsafe-perm # Install Globally" I get a bunch of messages about "npm WARN deprecated. . ." eventually I get a compilation terminated and then a bunch of "gyp ERR!" Is this feature still alive or is it too outdated to work with a PS4 controller? The instructions for connecting the controller didn't work for me but I was able to get it connected and test it using a different article https://salamwaddah.com/blog/connecting-ps4-controller-to-raspberry-pi-via-bluetooth
image

@balthisar
Copy link

+1

@MitchBradley
Copy link

The warnings can probably be ignored. Node.js tends to spit our warnings for every little thing, under the mistaken idea that nobody other than a full developer would ever use it.

The error is what is important. I means that you must install libusb.h before retrying the npm install. To do that, you can try running this command

sudo apt install libusb-dev

If that does not work, I can't help you. Also, I would be a little surprised if ps3 code works with a ps4 controller.

Most of the cncjs pendants were written by people who posted them, then disappeared without providing any support.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants