-
Notifications
You must be signed in to change notification settings - Fork 29.9k
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
Node fs package throws: Assertion `args[3]->IsInt32()' failed. #36643
Labels
fs
Issues and PRs related to the fs subsystem / file system.
Comments
RaisinTen
added a commit
to RaisinTen/node
that referenced
this issue
Dec 28, 2020
Since `length` is `size_t`, it can accept 64-bit integers too. Refs: https://man7.org/linux/man-pages/man2/write.2.html Fixes: nodejs#36643
2 tasks
why is this closed? what is the resolution? |
danielleadams
pushed a commit
that referenced
this issue
Jan 12, 2021
Since `length` is `size_t`, it can accept 64-bit integers too. Refs: https://man7.org/linux/man-pages/man2/write.2.html Fixes: #36643 PR-URL: #36667 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Yash Ladha <yash@yashladha.in> Reviewed-By: Zeyu Yang <himself65@outlook.com>
targos
pushed a commit
that referenced
this issue
May 1, 2021
Since `length` is `size_t`, it can accept 64-bit integers too. Refs: https://man7.org/linux/man-pages/man2/write.2.html Fixes: #36643 PR-URL: #36667 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Yash Ladha <yash@yashladha.in> Reviewed-By: Zeyu Yang <himself65@outlook.com>
Per #38546, I reopen the issue, since it turned to a confusing Error now.
|
Since #38546 landed, closing |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
What steps will reproduce the bug?
Tried to run a script to download zip files from Google Drive: first file OK (2Gb aprox), second file OK (1.5Gb), third file NOT OK (aprox 3GB)
The code running at this point is:
dependency is:
const googleDrive = require('./googleApi.js');
and googleApi.js is code to download from Google Drive copy/pasted from example docs:
https://developers.google.com/drive/api/v3/manage-downloads
How often does it reproduce? Is there a required condition?
Everytime when I run it. I run via
nodemon mainScript.js
What is the expected behavior?
Files downloaded from my Google Drive and paths printed in console
What do you see instead?
First and second file download OK and when trying to download thhird file i get:
The text was updated successfully, but these errors were encountered: