Error Upgrading to 5.0.0
See original GitHub issueHi,
Trying to upgrade the plugin to 5.0.0 and I am getting the following error in my pipeline:
Type Error ---------------------------------------------
--
1077 |
1078 | TypeError: serverless.configSchemaHandler.defineFunctionProperties is not a function
node_modules/serverless-plugin-warmup/src/schema.js:133:34
This is more a request for information\assistance really but I cannot work out what is causing the issue based on the error message, is this something you can assist with?
Environment in build agent
Your Environment Information ---------------------------
--
1133 | Operating System: linux
1134 | Node Version: 12.20.0
1135 | Framework Version: 1.83.2
1136 | Plugin Version: 3.8.4
1137 | SDK Version: 2.3.2
1138 | Components Version: 2.34.9
Warm up config
warmup:
folderName: ".warmup"
cleanFolder: false
memorySize: 256
name: "${self:custom.apiPrefix}-keep-alive"
role: WarmUpRole
events:
- schedule: "cron(0/5 8-17 ? * MON-FRI *)"
vpc: false
package:
individually: true
concurrency: 2
timeout: 20
prewarm: true # Run WarmUp immediately after a deployment
tags:
Project: My-Project
Issue Analytics
- State:
- Created 3 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
Build error upgrading from 5.0.0-alpha.20 to 5.0.0 ... - GitHub
After updating the following dependencies, the project fails at build time: "@emotion/cache": "11.1.3", "@emotion/react": "11.1.4", ...
Read more >Upgrading to BIG-IQ Centralized Management 5.0.0 may fail ...
In rare circumstances, upgrading to BIG-IQ Centralized Management 5.0.0 may fail with a Waiting for BIG-IQ services to become available ...
Read more >updating react-scripts version from 3.4.0 to 5.0.0 causing Type ...
I am trying to upgrade react-scripts from 3.4.0 to 5.0.0 and it thrown issue when I do 'npm run start', Type Error: Cannot...
Read more >Work around if Simplicity Studio 5 update to version SV5.5.0.0 ...
Work around if Simplicity Studio 5 update to version SV5.5.0.0 fails with an error about apack.usb.feature.
Read more >Updating your Zoom Rooms to version 5.0.5
If a Zoom Room that is not running 5.0.0 or above attempts to join a Zoom meeting ... Rooms will not be able...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@juanjoDiaz Thanks for the reply! Ok, that makes sense, I have a ticket to upgrade to
v2
but when I initially started to look at this there were so many errors I had to park it.I just looked on the main plugin readme where it suggested “Recommended v1.33.x or higher”.
I have cancelled the dependabot upgrade for now and rolled back but will need to set aside some more time for the serverless upgrade I think.
Cheers!
Yes. The configuration has changed slightly. Please read how to migrate in the readme.
v5 supports multiple warmers so you need to do something like:
I’ve name d the warmer
default
but you can name it however you want.