Skip to content

failed printing to stdout: Resource temporarily unavailable (os error 35) on MacOS #1630

@ForsakenHarmony

Description

@ForsakenHarmony

I believe it's related to node.js/napi because of this: rust-lang/rust#57632

node.js seems to set stdout to non-blocking, rust expects it to be blocking and when rust tries to write (a lot of text) to stdout it gets error 35:

kPOSIXErrorEAGAIN = 100035, /* Resource temporarily unavailable */

(from https://krypted.com/lists/comprehensive-list-of-mac-os-x-error-codes/)

I'm not sure if this is something napi-rs can fix, but I'm opening this here for visibility.

Don't have a repro yet, running into this when running next.js integration tests with turbopack.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions