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
version 6.7.0 offline: Failure: Cannot read property 'defineService' of undefined #1075
Comments
I'm running into this same issue today running similar versions and a similar start command:
|
Got the same issue, downgrading to Note: All works fine for first request, above error pops up on second and each next one. serverless - |
I found the way to fix this problem. Just add following settings into your serverless.yml
I found the changes of v6.6.0 → v6.7.0 |
I'm not sure if this ticket should be closed. By default - without |
Adding the
|
I've been hit by this process as well. I look forward to having a definitive solution! :) |
At this moment I can only recommend downgrading to v6.6.0 |
For me it was missing |
Bug Report
Current Behavior
When I version up serverless-offline from 6.6.0 to 6.7.0, and I perform API testing, I start to get the following error.
Everything is ok in 6.6.0.
Sample Code
my command to start serverless offline.
Environment
serverless
version: [v1.79.0]serverless-offline
version: [v6.7.0]node.js
version: [v12.6.0]OS
: [macOS 10.14.6]The text was updated successfully, but these errors were encountered: