Closed patrickchho closed 3 days ago
Hi @patrickchho, you will need to set up authentications correctly for logging: https://cloud.google.com/docs/authentication/provide-credentials-adc
Could you share more details about the authentication set up in your application?
Closing issue for now as more details are needed for investigation. Please feel free to re-open this issue if you are still running into this. Thank you!
I am trying to add @google-cloud/logging-winston to my VueJS project. I followed these https://www.npmjs.com/package/@google-cloud/logging-winston and https://cloud.google.com/logging/docs/samples/logging-winston-quickstart very closely.
I am getting:
Here's my code:
I traced the flow of code from
new LoggingWinston()
-->new LoggingCommon()
-->new Logging()
and found this line from the@google-cloud/logging
library:Question: How do I get new LoggingWinston() to work for my project?
PS: My dependencies are up-to-date: