-
Notifications
You must be signed in to change notification settings - Fork 148
Description
Hello! 👋
I'm an engineer on the documentation team at GitHub. My colleague @sarahs and I have been watching this project for a while, and now I'm finally trying it out.
I've got this set up:
- App is running on Node.js 10, macOS
- Created a Google API project with Drive and Cloud Store access
- Created a service account
- Created
server/.auth.jsonwith credentials file created by Google - Created OAuth 2 client id
- Created
.envwith all values - Created a new folder in Drive using my personal Google account and updated related values in
.env - Created a new Google Doc in that folder with some filler content
Unfortunately, I'm still seeing a lot of errors in my console. I added them to a gist here: https://gist.github.com/zeke/c2572650c5211985b33aa42106f1ec02
Some highlights from that output:
- 'Cannot find module '/Users/z/git/forks/library/custom/cache/store'
warn: GOOGLE_APPLICATION_CREDENTIALS was undefined, using default ./.auth.json credentials file...Cannot find module \'/Users/z/git/forks/library/custom/userAuth\''Cannot find module \'/Users/z/git/forks/library/custom/csp\
Context (Environment)
$ node --version
v10.16.2
$ uname -a
Darwin calvisitor-10-105-181-69.calvisitor.1918.berkeley.edu 18.7.0 Darwin Kernel Version 18.7.0: Sat Oct 12 00:02:19 PDT 2019; root:xnu-4903.278.12~1/RELEASE_X86_64 x86_64
Expected Behavior
When running npm run watch, I expect to see a local running server.
Actual Behavior
I see a bunch of errors: https://gist.github.com/zeke/c2572650c5211985b33aa42106f1ec02
To Reproduce
Follow the checklist above. :)
Possible Solution
It looks like there are some undocumented expectations in the code about certain local files that need to exist.
Maybe the Google App doesn't have access to the Google Drive folder I created?
I'd be happy to jump on a video call with someone to pair on this. Once I've got a successfully running installation of library I'd be happy to follow up with updates to the documentation to make the setup process more clear for newcomers.
Thanks for reading!