How can i import Google-AUTH library in my JavaScript code.
This is the node.js code I am trying in run in JavaScript query in retool const {GoogleAuth} = require('google-auth-library'); const auth = new GoogleAuth();
Below is the error i am getting:
Module name "google-auth-library" has not been loaded yet for context: _. Use require([]) Common Errors
some libraries like google-auth-library don't have UMD builds so we cannot import them properly. We need to use the require method to import it otherwise it won't work. Same kind of issue with node-vault