Skip to content
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

Doesn't appear to work on WSL Ubuntu 18.04 #2

Open
arthurborgesdev opened this issue Feb 28, 2020 · 0 comments
Open

Doesn't appear to work on WSL Ubuntu 18.04 #2

arthurborgesdev opened this issue Feb 28, 2020 · 0 comments

Comments

@arthurborgesdev
Copy link

arthurborgesdev commented Feb 28, 2020

After installing globally and also installing pulseaudio-utils (which I didn't have on my small WSL Ubuntu 18.04), I have been getting the following errors when using npx tururu:

Error: Command failed: paplay /usr/lib/node_modules/tururu/tururu.ogg
shared memfd open() failed: Function not implemented
Connection failure: Connection refused
pa_context_connect() failed: Connection refused

at ChildProcess.exithandler (child_process.js:295:12)
at ChildProcess.emit (events.js:223:5)
at maybeClose (internal/child_process.js:1021:16)
at Process.ChildProcess._handle.onexit (internal/child_process.js:283:5) {
  killed: false,
  code: 1,
  signal: null,
  cmd: 'paplay /usr/lib/node_modules/tururu/tururu.ogg'
}

I don't know so far if it's a error on Linux part or node package. I can help debug, though.

EDIT: AFAIK, it's related to WSL: microsoft/WSL#3542

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant