Replies: 8 comments
-
Hey @zeke! Thanks for providing such a detailed description of the steps you tried. Many of the traces you mentioned are noncritical, and probably unrelated to the problem you are encountering. (They're often expected, and we should make them less prominent.) One of the later traces displayed in your console is most likely the cause of the issue:
That trace comes from the part of the code where we make a request to the Drive API to list the documents, and could result from a lack of permissions. Did you share the folder you created with the email of your service account? That's the final piece that grants the service account access. |
Beta Was this translation helpful? Give feedback.
-
Thanks for the quick response!
☝️ I had not! Now I have: I'm still seeing the same (or similar) errors in the console after restarting the app. Does that invitation need to be accepted somehow by the service account? |
Beta Was this translation helpful? Give feedback.
-
Normally adding the service account is all that should be needed, though in some cases with shared folders (vs a Shared/Team drive) we've noticed permissions can take a little while to update on Google's side. Are you still seeing that
|
Beta Was this translation helpful? Give feedback.
-
Just tried again this morning. Still seeing |
Beta Was this translation helpful? Give feedback.
-
Hi @zeke ! Sorry for the delayed response. Your setup process looks correct, but based on errors I've seen in the past, this seems like it might be a configuration issue. A few things to check/try:
I'll reach out and we can find some time to pair if nothing mentioned above resolves the problem. |
Beta Was this translation helpful? Give feedback.
-
Hey @maxine thank you for this info. I haven't yet made time to try out your suggestions above, but I intend to, and will report my findings here. Perhaps over the holiday break. :) 🎄 |
Beta Was this translation helpful? Give feedback.
-
Hi @maxine! FYI, I'm getting some errors on startup similar to @zeke. Your suggestion to put the filler content in a nested folder took care of the tree updating errors, thank you very much. But I do still see the
Pretty sure all the auth stuff you listed above checks out. And the app is running and displaying my files, so that's good! (The rest of the setup has gone smoothly. I'm excited to finally get to play around with my own Library install!) |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
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:
server/.auth.json
with credentials file created by Google.env
with all values.env
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:
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)
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!
Beta Was this translation helpful? Give feedback.
All reactions