ericyd / gdrive-copy

Web app to copy a Google Drive folder
https://script.google.com/macros/s/AKfycbxbGNGajrxv-HbX2sVY2OTu7yj9VvxlOMOeQblZFuq7rYm7uyo/exec
MIT License
1.58k stars 341 forks source link

"Drive" is not defined #64

Closed rsl18 closed 5 years ago

rsl18 commented 5 years ago

Are you requesting a feature or reporting a bug?

bug

If reporting a bug, is there already an issue open for this same bug?

no

What is the current behavior?

When I run the script as a self-hosted web app, I get a "Drive" is not defined error image

What is the expected behavior?

It should just run the script

How would you reproduce the current behavior (if this is a bug)?

I built the production files, uploaded the files in dist as detailed here: https://github.com/ericyd/gdrive-copy/blob/master/howto_for_non-developers.md My app script workspace looks like this: image

Specify your

rsl18 commented 5 years ago

Nvm it was because I didn't enable the Drive API in the appscript workspace!