Hi,
First thank you for your lib.
I have a problem using it, I think your example is incomplete.
I get
UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): ReferenceError: NodeGoogleDrive is not defined
If I write
const { NodeGoogleDrive } = require('node-google-drive');
I get
UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): TypeError: NodeGoogleDrive is not a constructor
[Edit]
I have no error with:
const NodeGoogleDrive = require('node-google-drive');
But folderResponse.folders is always empty.
[Edit]
OK I'm using a service account so I needed to share my root folder with it!
Thank you
Hi,
First thank you for your lib.
I have a problem using it, I think your example is incomplete.
I get
If I write
const { NodeGoogleDrive } = require('node-google-drive');I get
[Edit]
I have no error with:
const NodeGoogleDrive = require('node-google-drive');But folderResponse.folders is always empty.
[Edit]
OK I'm using a service account so I needed to share my root folder with it!
Thank you