serverless / github-action

:zap::octocat: A Github Action for deploying with the Serverless Framework
Apache License 2.0
662 stars 174 forks source link

Deploy not working #40

Closed svarughese91 closed 4 years ago

svarughese91 commented 4 years ago

My serverless deploy to AWS was working fine this morning and now all of a sudden its failing and throwing this error:

Serverless: Publishing service to the Serverless Dashboard... TypeError: Cannot read property 'fetch' of undefined at parseDeploymentData (/opt/hostedtoolcache/node/10.22.0/x64/lib/node_modules/serverless/node_modules/@serverless/enterprise-plugin/lib/deployment/parse.js:159:65) at process._tickCallback (internal/process/next_tick.js:68:7)

Type Error ---------------------------------------------

TypeError: Cannot read property 'fetch' of undefined at parseDeploymentData (/opt/hostedtoolcache/node/10.22.0/x64/lib/node_modules/serverless/node_modules/@serverless/enterprise-plugin/lib/deployment/parse.js:159:65) at process._tickCallback (internal/process/next_tick.js:68:7)

Do you know whats wrong?

Gdewilde commented 4 years ago

Hi, you need to upgrade serverless to 3.1.1

svarughese91 commented 4 years ago

@Gdewilde isnt the latest version of serverless 2.1.1? https://www.npmjs.com/package/serverless

Gdewilde commented 4 years ago

Yes, sorry about that 😅

DavideViolante commented 4 years ago

it should be fixed now.