Comments (4)
That solved the problem. Thank you!
from google-auth-library-nodejs.
I believe the issue is the missing Node.js types. Can you ensure @types/node
has been installed locally?
from google-auth-library-nodejs.
It is, this is my package.json:
{
"name": "unravell-engine",
"version": "0.1.0",
"scripts": {
"build": "tsc",
"watch": "tsc -w",
"test": "jest --verbose false -c jest.config.js",
"integration-test": "jest --verbose false -c jest.config.integration.js",
"cdk": "cdk"
},
"devDependencies": {
"@aws-sdk/client-s3": "^3.374.0",
"@aws-sdk/credential-providers": "^3.370.0",
"@aws-sdk/types": "^3.329.0",
"@swc-node/jest": "^1.5.2",
"@types/aws-lambda": "^8.10.97",
"@types/bcryptjs": "^2.4.2",
"@types/brotli": "^1.3.1",
"@types/content-type": "^1.1.5",
"@types/html-to-text": "^9.0.0",
"@types/http-headers": "^3.0.0",
"@types/jest": "^28.1.4",
"@types/lodash": "^4.14.184",
"@types/metaget": "^1.0.1",
"@types/node": "10.17.27",
"@types/node-gzip": "^1.1.0",
"@types/prettier": "2.6.0",
"@types/uuid": "^8.3.4",
"axios": "^1.4.0",
"esbuild": "^0.15.5",
"jest": "^28.1.2",
"jest-dynalite": "^3.5.1",
"ts-node": "^10.7.0",
"typescript": "^4.9.5"
},
"dependencies": {
"@aws-sdk/client-cloudwatch": "^3.387.0",
"@aws-sdk/client-cognito-identity-provider": "^3.549.0",
"@aws-sdk/client-comprehend": "^3.316.0",
"@aws-sdk/client-dynamodb": "^3.100.0",
"@aws-sdk/client-sns": "^3.345.0",
"@aws-sdk/util-dynamodb": "^3.100.0",
"@stripe/stripe-js": "^1.54.1",
"aws-cdk-lib": "^2.140.0",
"bcryptjs": "^2.4.3",
"brotli": "^1.3.3",
"class-transformer": "^0.5.1",
"constructs": "^10.0.0",
"content-type": "^1.0.5",
"dotenv": "^16.0.1",
"google-auth-library": "^9.10.0",
"http-headers": "^3.0.2",
"lodash": "^4.17.21",
"metaget": "^1.0.7",
"reflect-metadata": "^0.1.13",
"source-map-support": "^0.5.21",
"stripe": "^12.10.0",
"uuid": "^8.3.2"
}
}
from google-auth-library-nodejs.
"@types/node": "10.17.27"
is pretty old (Node 10). Please update that package to at least v16 to align with the Node version in use.
from google-auth-library-nodejs.
Related Issues (20)
- How to handle google auth with react and node js api HOT 1
- How to use nodejs api of google auth in axios fetch? HOT 3
- ToC for Reference Documentation is broken HOT 1
- error: FetchError: request to https://www.googleapis.com/oauth2/v1/certs failed, reason: connect ETIMEDOUT 142.251.43.10:443 HOT 1
- error: FetchError: request to https://oauth2.googleapis.com/token failed, reason: connect ETIMEDOUT 172.217.160.74:443 HOT 1
- use getToken error: FetchError: request to https://oauth2.googleapis.com/token failed, reason: connect ETIMEDOUT 172.217.160.74:443
- exchanging code for tokens: GaxiosError: request to https://oauth2.googleapis.com/token failed,
- pack and install: should be able to webpack the library failed HOT 2
- DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead HOT 1
- pack and install: "after each" hook: cleanup staging for "should be able to webpack the library" failed HOT 1
- delegate credential using google script or javascript HOT 3
- Glob version is deprecated HOT 1
- pack and install: should be able to webpack the library failed HOT 3
- Too many call to the token exchange endpoint when uploading file to GCS HOT 3
- Warning: a recent release failed
- Warning: a recent release failed
- GoogleAuth cannot be used with googleapis: Google Service Account Auth HOT 1
- Object prototype may only be an Object or null: undefined HOT 1
- error: {"message":"request to https://oauth2.googleapis.com/token failed, reason: ","type":"system","errno":"ETIMEDOUT","code":"ETIMEDOUT"} HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from google-auth-library-nodejs.