serverless-azure-functions
serverless-azure-functions copied to clipboard
python: Cannot read property 'x-azure-settings' of undefined
10:02 $ serverless -v
Framework Core: 2.44.0
Plugin: 5.2.0
SDK: 4.2.3
Components: 3.11.0
serverless create -t azure-python -p test1
cd test1
npm install
serverless offline
Serverless: Initializing provider configuration...
Serverless: Python functions can ONLY run on Linux Function Apps. Switching now
Serverless: Building offline service
Serverless: Parsing Azure Functions Bindings.json...
Serverless: Parsing Azure Functions Bindings.json...
Serverless: Building binding for function: hello event: httpTrigger
Type Error ----------------------------------------------
TypeError: Cannot read property 'x-azure-settings' of undefined
If I change
"devDependencies": {
"serverless-azure-functions": "1.0.2-22"
}
to
"devDependencies": {
"serverless-azure-functions": "^2.0.0"
}
then npm install
and serverless offline... then it works
Why is the template for azure-python referencing this old version?