It looks like you are reusing an appId from server in desktop
- in desktop appId is for example "HelpDesk Management.qvf"
- in server appId is a GUID generated on the server
The select error is mostly coming from the field API select method ‒ Qlik Sense; but initially, the appId was wrong, and therefore will nt return a promise, crashing with "Cannot read property 'then' of undefined"
...anyway, on desktop, change you appId to match the filename of the app, that should solve your issue.
I hope this helps.