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 343 forks source link

[BUG] ReferenceError: "Logging" is not defined. #119

Closed newbieh4cker closed 5 years ago

newbieh4cker commented 5 years ago

Are you requesting a feature or reporting a bug?

reporting bug

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

no

What is the current behavior?

"Logging" is not defined.

What is the expected behavior?

"Logging" is defined, and logging is working

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

Specify your

I'm using my own deploy version to use paid g-suite account. I've deploy it to web app, and If i go to 'G Suite Developer Hub' G Copy shows error

image

newbieh4cker commented 5 years ago

it seems like somehow "~/dist/util' folder is not included while deploy. I can see 'Logging.ts' in ~dist/util folder But, In G suite Developer Hub, there is not Logging.gs image

ericyd commented 5 years ago

Huh, that is weird. I'll have to look into this in more depth. For a quick fix you can just revert to the commit before I moved that logging class, and you should be g2g I think.

got reset 0d4d926e887482324262047e2c0f0708be43caf2

newbieh4cker commented 5 years ago

git reset 0d4d926e887482324262047e2c0f0708be43caf2 npm run build:prod clasp push clasp deploy

with that,

ericyd commented 5 years ago

This should be fixed. Please git pull to fetch the latest master branch and try again.

I also renamed the Timer constants referenced in #120 to be a little more specific and clear.