Error: TypeError: Cannot read property 'replace' of undefined #12107
Unanswered
GimhanRanasinghe
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm trying to deploy my Node express app using AWS serverless framework.
But when I run serverless deploy command I got the following error.
Error: TypeError: this.getHttpPath is not a function at /Users/gimhanranasinghe/Downloads/Server-main/node_modules/serverless/lib/plugins/aws/package/compile/events/api-gateway/lib/validate.js:82:28 at Array.forEach (<anonymous>) at /Users/gimhanranasinghe/Downloads/Server-main/node_modules/serverless/lib/plugins/aws/package/compile/events/api-gateway/lib/validate.js:78:37 at Array.forEach (<anonymous>) at AwsCompileApigEvents.validate (/Users/gimhanranasinghe/Downloads/Server-main/node_modules/serverless/lib/plugins/aws/package/compile/events/api-gateway/lib/validate.js:77:55)
Can anyone say why I'm getting this error and how to fix this?
Beta Was this translation helpful? Give feedback.
All reactions