-
-
Notifications
You must be signed in to change notification settings - Fork 33.5k
Closed
Labels
fsIssues and PRs related to the fs subsystem / file system.Issues and PRs related to the fs subsystem / file system.
Description
- Node Version: v13.7.0
- Platform: MacBook Pro Darwin Kernel Version 18.7.0: Tue Aug 20 16:57:14 PDT 2019; root:xnu-4903.271.2~2/RELEASE_X86_64 x86_64
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:
`await Promise.all(driveFiles.map((file) => googleDrive.downloadFileById(file))).then((downloaded) => downloaded.forEach((d) => console.log(d)));`
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:
Inode[4463]: ../src/node_file.cc:1833:void node::fs::WriteBuffer(const FunctionCallbackInfo<v8::Value> &): Assertion `args[3]->IsInt32()' failed.
1: 0x101366e15 node::Abort() (.cold.1) [/...<pathToMyNodeProjectsFolder>.../nodeProjects/testDownloadApi/node_modules/.bin/node]
2: 0x1000be439 node::Abort() [/...<pathToMyNodeProjectsFolder>.../nodeProjects/testDownloadApi/node_modules/.bin/node]
3: 0x1000be2a1 node::Assert(node::AssertionInfo const&) [...<pathToMyNodeProjectsFolder>.../nodeProjects/testDownloadApi/node_modules/.bin/node]
4: 0x1000cf254 node::fs::WriteBuffer(v8::FunctionCallbackInfo<v8::Value> const&) [/...<pathToMyNodeProjectsFolder>.../nodeProjects/testDownloadApi/node_modules/.bin/node]
5: 0x1002a2948 v8::internal::FunctionCallbackArguments::Call(v8::internal::CallHandlerInfo) [/...<pathToMyNodeProjectsFolder>.../nodeProjects/testDownloadApi/no
Metadata
Metadata
Assignees
Labels
fsIssues and PRs related to the fs subsystem / file system.Issues and PRs related to the fs subsystem / file system.