firestore-migrator icon indicating copy to clipboard operation
firestore-migrator copied to clipboard

Error on npm run build : Initializers are not allowed in ambient contexts.

Open manonbart opened this issue 4 years ago • 2 comments

I have this following issue when running npm run build (version node : 12.4.0)

node_modules/google-auth-library/build/src/auth/oauth2client.d.ts:298:55 - error TS1039: Initializers are not allowed in ambient contexts.

298     protected static readonly GOOGLE_TOKEN_INFO_URL = "https://oauth2.googleapis.com/tokeninfo";

manonbart avatar Aug 10 '20 10:08 manonbart

Same thing on node 10.

$ node -v
v10.15.0

gh0st avatar Sep 02 '20 02:09 gh0st

@manonbart reference #39

gh0st avatar Sep 02 '20 02:09 gh0st