Marak / Marak/play.js

throw er; // Unhandled 'error' event

Open
#6 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
162
Forks
38
PR merge metrics
No merged PRs in 30d

Description

When i run below the code i get an error.


var play = require('play');
// play with a callback
play.sound('./wavs/sfx/intro.wav', function(){ });


info - socket.io started
playing=>./wavs/sfx/intro.wav

events.js:72
throw er; // Unhandled 'error' event
^
Error: spawn ENOENT
at errnoException (child_process.js:975:11)
at Process.ChildProcess._handle.onexit (child_process.js:766:34)

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the shown play.sound('./wavs/sfx/intro.wav', callback) example and start at the play.sound entry point. Trace the spawned playback command and the ENOENT failure; the issue does not specify the expected behavior beyond resolving this error.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
audio-video-rtc
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.