-
Notifications
You must be signed in to change notification settings - Fork 278
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
What happens with process object in Internal realm.js file? #4425
Labels
Comments
These are the files that create the |
What is the alternative to realize a print or a console in this file? |
I'm not sure, sorry |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Node.js Version
v23.0.0-pre
NPM Version
not apply
Operating System
not apply
Subsystem
Other
Description
I am trying to collaborate with node.js internals. I found the realm.js file and I tried to realize a print using process.stdout.write() method but launched an error at moment to compile:
I would like to know why process object is different in realm.js file compared with another normal .js file?
Minimal Reproduction
write process.stdout.write() in any code line in internal realm.js file
Output
TypeError: Cannot read properties of undefined (reading 'write')
at internalBinding (node:internal/bootstrap/realm:185:20)
at node:internal/bootstrap/realm:191:3
Before You Submit
The text was updated successfully, but these errors were encountered: