-
Notifications
You must be signed in to change notification settings - Fork 31
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
not working in windows 10 x64 #39
Comments
You need to install compatable console player (mplayer for example) and make it available in the shell (add mplayer folder to %PATH%) |
If you go to your project directory in cmd and type |
I found a solution if other people have the same error download mplayer in https://mplayerhq.hu/design7/dload.html scroll for middle page and download "windows Binaries" after download please uncompress and copy mplayer.exe in main directory project play-sound not use path in windows just search in main directory project |
The issue for |
I've just published a new version that should fix this issue. Thanks for reminding me, @unional. |
Thank you! :) |
const player = require('play-sound')();
player.play('alert.mp3', (err) => { if (err) console.log(
Could not play sound: ${err}); });
Error: Couldn't find a suitable audio player
Error: INFO: Could not find files for the given pattern(s).
Thank you
The text was updated successfully, but these errors were encountered: