-
Notifications
You must be signed in to change notification settings - Fork 3.1k
fs.writeFile mode is not Node.js compatible #3740
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
Labels
bug
Something isn't working
Comments
It looks like the upper limit of the value is constrained to Lines 1008 to 1011 in 636cec0
In Node.js, this limit is a u32. |
ah, we probably should wrap it |
Hanaasagi
added a commit
to Hanaasagi/bun
that referenced
this issue
Jul 22, 2023
Hanaasagi
added a commit
to Hanaasagi/bun
that referenced
this issue
Jul 22, 2023
Jarred-Sumner
pushed a commit
that referenced
this issue
Jul 22, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
What version of Bun is running?
0.6.14
What platform is your computer?
No response
What steps can reproduce the bug?
What is the expected behavior?
Works fine on Node
What do you see instead?
TypeError: Invalid mode: must be an octal number
code: "ERR_INVALID_ARG_TYPE"
Additional information
The text was updated successfully, but these errors were encountered: