We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
yarn install
yarn run test:sls
sls invoke local fails with "Cannot convert undefined or null to object" error coming from fastify.
sls invoke local
If you disable optimize plugin, the test succeeds with 200 response:
{ "statusCode": 200, "body": "Hello World!", "headers": { "content-type": "text/plain; charset=utf-8", "content-length": "12", "date": "Mon, 09 Sep 2019 08:46:52 GMT", "connection": "keep-alive" }, "isBase64Encoded": false }
Serverless: 1.51.0 serverless-plugin-optimize: 4.1.0-rc.1
The text was updated successfully, but these errors were encountered:
@hakimio I am getting the same error. Did you manage to get it resolved?
Sorry, something went wrong.
This issue is pretty old, but, as far as I can remember, I just stopped using this plugin. I don't think I ever found any solution.
Just checked my git log: I just replaced this plugin with serverless-layers.
serverless-layers
No branches or pull requests
Steps to reproduce
yarn install
yarn run test:sls
Results You Received:
sls invoke local
fails with "Cannot convert undefined or null to object" error coming from fastify.Results You Expected:
If you disable optimize plugin, the test succeeds with 200 response:
Environment Details:
Serverless: 1.51.0
serverless-plugin-optimize: 4.1.0-rc.1
The text was updated successfully, but these errors were encountered: