Giter Club home page Giter Club logo

tinfoil_gdrive_generator's People

Contributors

bigbrainafk avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

tinfoil_gdrive_generator's Issues

error handling

Running:
node index.js -source [FOLDER_ID] -auth -upload y -uploadDrive y
returns with error:
UnhandledPromiseRejectionWarning
(node:3152) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
error.txt

Hitting API limits

For some reason I keep getting errors regarding hitting API limits. I have provided a credentials.json file and it does "authenticate" fine via that. At first I noted that it was barely hitting over the 100 requests per 100 seconds limit so I bumped it to 1000 requests in that timeframe but I'm still getting an error. This error doesn't seem to be handled at all so the whole script seems to die.

[removed]

EDIT: The issue appears to be random as I just ran it again (same command -- same target folder -- same credentials) and it went through without issue. o.O

it is not working.

i tried to make index file, but i got back next error msg. i couln't have index.

(node:35248) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'list' of undefined
at C:\rclone\nodgen\index.js:588:38
at new Promise ()
at retrieveAllDrives (C:\rclone\nodgen\index.js:587:9)
at choice (C:\rclone\nodgen\index.js:222:23)
at C:\rclone\nodgen\index.js:158:4
at FSReqCallback.readFileAfterClose [as oncomplete] (internal/fs/read_file_context.js:63:3)
(Use node --trace-warnings ... to show where the warning was created)
(node:35248) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag --unhandled-rejections=strict (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
(node:35248) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.