Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TypeError: Cannot read property 'ping' of null #78

Open
darbio opened this issue Feb 20, 2021 · 2 comments
Open

TypeError: Cannot read property 'ping' of null #78

darbio opened this issue Feb 20, 2021 · 2 comments

Comments

@darbio
Copy link

darbio commented Feb 20, 2021

I don't know if this is the right place for this - the error looks like it's in platform-client - but that is a private repo.

I get this intermittent error when I deploy from CI/CD environment:

Build step: serverless deploy --stage dev --region us-east-1 --force --org darbio --app tsz-next --debug
Initializing...
Action: "deploy" - Stage: "dev" - Org: "darbio" - App: "tsz-next" - Name: "frontend"
Deploying...
/var/lang/lib/node_modules/serverless/node_modules/@serverless/platform-client/src/Connection.js:114
            this.connection.ping();
                            ^
TypeError: Cannot read property 'ping' of null
    at Timeout.pingInterval.setInterval [as _onTimeout] (/var/lang/lib/node_modules/serverless/node_modules/@serverless/platform-client/src/Connection.js:114:29)
    at ontimeout (timers.js:436:11)
    at tryOnTimeout (timers.js:300:5)
    at listOnTimeout (timers.js:263:5)
    at Timer.processTimers (timers.js:223:10)
Build step failed: serverless deploy --stage dev --region us-east-1 --force --org darbio --app tsz-next --debug

I think there is a bug in platform-client when the connection times out.

@darbio
Copy link
Author

darbio commented Apr 21, 2021

Bump. I'm still getting this. Anyone have any pointers?

@EyeDreamt
Copy link

I also have this same issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants