shime / play-sound

Play sounds by shelling out to one of the available audio players.
MIT License
208 stars 31 forks source link

RaspberryPi support #5

Closed omarojo closed 9 years ago

omarojo commented 9 years ago

I get errors when installing in RaspberryPi, something about the execSync.

shime commented 9 years ago

could you paste the stack trace?

roosnic1 commented 9 years ago

Hi @shime I don't know if @omarojo had the same problem but my installation on the raspberry pi failed as well during execSync. I have a normal Raspberry Pi 2 with the newest raspbian OS running on it. I installed node and npm and had no problems with other node modules. But when I tried to install play-sound I get the following error.

pi@raspberrypi ~/iBeacon-Scanner- $ npm install play-sound
\
> execSync@1.0.2 install /home/pi/iBeacon-Scanner-/node_modules/play-sound/node_modules/find-exec/node_modules/execSync
> node install.js

[execsync v1.0.2] Attempting to compile native extensions.
[execSync v1.0.2]
    Native code compile failed!!
play-sound@0.0.5 node_modules/play-sound
└── find-exec@0.0.7 (execSync@1.0.2)
pi@raspberrypi ~/iBeacon-Scanner- $
shime commented 9 years ago

Hey guys, thanks for reporting! I've now removed problematic execSync as a dependency and updated the version. Hopefully this fixes things for you. If not, please reopen this issue.