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

Logging does not work in worker threads #173

Closed
danielroe opened this issue Apr 11, 2023 · 0 comments
Closed

Logging does not work in worker threads #173

danielroe opened this issue Apr 11, 2023 · 0 comments

Comments

@danielroe
Copy link
Member

danielroe commented Apr 11, 2023

Environment

Consola v3.0.0, https://github.com/nuxt/nuxt

Reproduction

nuxt/nuxt#20194

Describe the bug

process.stdout.fd is not defined in worker threads and we get this error:

The "fd" argument must be of type number. Received undefined

Additional context

return writeSync((stream as any).fd, data);

Logs

No response

@danielroe danielroe changed the title Fancy logging does not work in worker threads Logging does not work in worker threads Apr 11, 2023
@pi0 pi0 closed this as completed in 167b6f3 Apr 11, 2023
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