I get constantly the error in cmd after the “homey run app” command
× App Crashed. Stack Trace: × app.json does not contain “flow.triggers”
my app.json (the relevant stuff) anythig else is correct cause theres no syntax error
},
“flow”: {
“triggers”: {},
“conditions”: {},
“actions”: {}
}
please help thanks
To run the app on your Pro 2023 you’d execute
homey app run --remote
at remote its the same Prolem
CreateClientError: app.json does not contain “flow.triggers”
at new FlowCard (/node_modules/@athombv/homey-apps-sdk-v3/lib/FlowCard.js:56:13)
at new FlowCardTrigger (/node_modules/@athombv/homey-apps-sdk-v3/lib/FlowCardTrigger.js:28:5)
at ManagerFlow.getTriggerCard (/node_modules/@athombv/homey-apps-sdk-v3/manager/flow.js:84:18)
at MyApp.onInit (/app/app.js:13:45)
at SDK._initApp (/node_modules/@athombv/homey-apps-sdk-v3/lib/SDK.js:259:25)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async SDK.createClient (/node_modules/@athombv/homey-apps-sdk-v3/lib/SDK.js:141:7)
⚠ The app has crashed.
Exit Code: 1, Exit Signal: null
thats repeating every minute
Your app is calling getTriggerCard(), yet there are no trigger cards defined?
Was this app created with a “vibe coding” platform by any chance?
The main standard stuff is created by “CMD” don’t know what u mean by “vibe coding"
The rest or the functional stuff is created by myself I would call myself a intermediate
AI, ChatGPT, etc.
It doesn’t make sense to call getTriggerCard() if you haven’t actually created/configured any such cards. The fine manual explains how it works.
exactly thats the point i havend created such cards yet but it crashes cause of that.
The error says that in your app.js, on line 13, it makes a call to getTriggerCard(). Why does it do that?