Skip to content

Unhandled 'error' event #12

@ghost

Description

can you tell me what im doing wrong?

var player = require('play');

player.sound('./noti.wav')

it says:

playing=>./noti.wav
events.js:160
throw er; // Unhandled 'error' event
^

Error: spawn afplay ENOENT
at exports._errnoException (util.js:1020:11)
at Process.ChildProcess._handle.onexit (internal/child_process.js:197:32)
at onErrorNT (internal/child_process.js:376:16)
at _combinedTickCallback (internal/process/next_tick.js:80:11)
at process._tickCallback (internal/process/next_tick.js:104:9)

or is it a bug?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions