79534674

Date: 2025-03-25 19:36:08
Score: 2.5
Natty:
Report link

It's not easy to guess what it could be with your small code snipped. Require is only needed if the used library export only in CommonJs (outdated) instead of ES6.

I was looking in the https://www.npmjs.com/package/google-auth-library docu it seems that many examples here are with require but one is with import

import { AwsClient, AwsSecurityCredentials, AwsSecurityCredentialsSupplier, ExternalAccountSupplierContext } from 'google-auth-library';

So the import shouldnt be a problem. Can you share more of your code ? Or even better a playground in stackblitz - sometimes it can even help to debug the issue yourself while creating a isolated stackblitz version.

Reasons:
  • RegEx Blacklisted phrase (2.5): Can you share
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (0.5):
Posted by: devnik