-
Notifications
You must be signed in to change notification settings - Fork 416
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
TypeError: Cannot read property 'defineFunctionProperties' of undefined #1225
Comments
Could you please tell us what command did you launch? |
Im having the exact same issue when I try to push to the server using the command:
|
@crisecheverria You are using Serverless v1, #1226 should fix your issue. I want to make sure it works for @francorobles before releasing a patch. Would you mind trying with serverless-webpack 5.8.0? |
@vicary tried with serverless v1 and serverless-webpack 5.8.0 and the issue persists
|
@crisecheverria @j0k3r @vicary this issue is now resolved. My bad, I double checked our private image and It was using serverless < 2.x. I patched it to serverless 3.22.0 and serverless-webpack 5.9.0 and then the issue is gone. |
@francorobles glad to hear that. We are trying our best to keep v1 backward compatible, so we'll release a patch shortly. @crisecheverria Package managers tend to add a caret selector by default, i.e. |
@vicary thanks for the reply, yes you’re right, after using "serverless-webpack": "5.8.0" the problem was solved for serverless v1 🎉 |
This is a (Bug Report)
Description
For bug reports:
Getting an error of TypeError: Cannot read property 'defineFunctionProperties' of undefined
Additional Data
The text was updated successfully, but these errors were encountered: