googleapis / google-auth-library-nodejs

🔑 Google Auth Library for Node.js
Apache License 2.0
1.73k stars 381 forks source link

Error when import library #1731

Closed Zoe-997 closed 9 months ago

Zoe-997 commented 9 months ago

Does this library support clients? I just created a new reactjs app and it's empty, I want to use google-spreadsheet and google-auth-library but when I install it using npm it gives me an error when I import the library and it doesn't do anything.

thì is my code: image

And this is error after: image

danielbankhead commented 9 months ago

This library currently does not work in the browser. The functionality can be tracked here:

In the meantime, it appears these two options may suit your needs: