-
Notifications
You must be signed in to change notification settings - Fork 143
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
OSX - Illegal Instruction:4 #95
Comments
i get the same problem, any help much appreciated! |
For me, Speaker plays the audio on the Mac (Sierra MacBook Pro) and then it crashes the process. |
By the lack of answers, looks like the creator/maintainer is not working on this project anymore.. bummer :( |
I haven't been able to reproduce this, and there isn't that much info provided here to be able to investigate further... |
install Node.js on mac with latest OSX, then npm install node-speaker and write some code get it to play some audio.. |
Installation of the latest versions for NodeJS did not help me. Changing the Audio Backend with the command npm install speaker --mpg123-backend=openal fixed the issue for me. |
Thanks that worked for me too!
…On Fri, Mar 24, 2017 at 9:19 AM, YannickRobin ***@***.***> wrote:
Installation of the latest versions for NodeJS did not help me.
Changing the Audio Backend with the command *npm install speaker
--mpg123-backend=openal* fixed the issue for me.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#95 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AY8PaDdDWo38p5evGToSzUiWVCeBgIPiks5ro-0ZgaJpZM4Lp_Bt>
.
|
This problem still exists, and if that backend is the only way to fix it, shouldn't the module do this by default? |
I updated to Node v13.x and then ran npm install speaker --mpg123-backend=openal and it worked! |
This does work, but it turns out to be enormously annoying. If any NPM module requires the "speaker" module, then it won't work because it installs the default which fails on OSX. You end up with a package.json that won't work on OSX. This should really be changed in the speaker npm module. And if it doesn't get fixed I need to fork this module. |
I see. I'm hoping I don't need to require the speaker beyond this point. But yes, a definitive fix would be great! |
I am getting the "Illegal Instruction: 4" message under macOS 10.14.6 (Mojave) and Node.js 12.18.3. I tried the command "npm install speaker --mpg123-backend=openal" and it eliminates the error message but the audio is now choppy. If I remove the argument the error message comes back but the audio is fine. I can live with the error message as it seems to be informational. |
Everything works fine and I'm getting the audio to play..
But, I'm getting a "Illegal Instruction: 4" message..
The text was updated successfully, but these errors were encountered: