csuermann / virtual-smart-home

Virtual Smart Home Skill for Amazon Alexa and Node-RED
27 stars 18 forks source link

Serverless V4 doesn't parse cloudFormation-eu-west-1.yml #25

Closed travelr closed 1 month ago

travelr commented 1 month ago
Failed to resolve variable 'cloudFormation-eu-west-1.yml' with resolver 'file' and provider 'file': Error: Cannot parse YAML from "/Users/abc/virtual-smart-home/cloudFormation-eu-west-1.yml": unknown tag !<!Sub> (38:82)
 35 |  ...
 36 |  ...
 37 |  ...
 38 |  ... on}:${AWS::AccountId}:client/',
-----------------------------------------^
 39 |  ...
 40 |  ... ame}',

It is working fine with 2.72.4 but the global command installs now installs V4.

npm run sls -- deploy

with

"scripts": {
  "sls": "serverless"
},

mitigates the issue.

by the way: kudos to this great project as well as this step by step manual!

csuermann commented 1 month ago

Thank you! I updated the readme to refer to serverless v3 for now.