-
Notifications
You must be signed in to change notification settings - Fork 11
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
Getting TypeError: Cannot read property 'push' of undefined #34
Comments
If you look at the stack trace on master (assuming it matches what you have installed) The code is:
So that is saying that Do you have
In your serverless.yml? |
My other account locked out so writing from here. We need to package the functions individually so have the 'include' in each function and not in the main. Still getting the issue.
|
try putting a top level Also, I've never done this per function include, so that might be another complication. |
seems per function include not working. I added the include in top-level and it worked but now everything is going in every lambda. How to only package only the required items in each lambda. |
I don't think this feature is currently supported. I will try and look into it this weekend, but can't make a guarantee. I'd welcome any contribution if someone wants to make an attempt. |
… Allow patterns
When i add
`plugins:
`
i get TypeError: Cannot read property 'push' of undefined
Type Error ----------------------------------------------
TypeError: Cannot read property 'push' of undefined
at PackageRubyBundlePlugin.beforePackage (/Users/xxxx/node_modules/serverless-ruby-package/index.js:85:45)
at PluginManager.invoke (/usr/local/lib/node_modules/serverless/lib/classes/PluginManager.js:576:20)
at async PluginManager.run (/usr/local/lib/node_modules/serverless/lib/classes/PluginManager.js:634:7)
at async Serverless.run (/usr/local/lib/node_modules/serverless/lib/Serverless.js:327:5)
at async /usr/local/lib/node_modules/serverless/scripts/serverless.js:704:9
Get Support --------------------------------------------
Docs: docs.serverless.com
Bugs: github.com/serverless/serverless/issues
Issues: forum.serverless.com
Your Environment Information ---------------------------
Operating System: darwin
Node Version: 16.2.0
Framework Version: 2.43.0
Plugin Version: 5.1.3
SDK Version: 4.2.2
Components Version: 3.10.0
The text was updated successfully, but these errors were encountered: