When a plugin has before/after prepare hook which is a promise and it is rejected without error the CLI fails with TypeError: Cannot read property 'stopExecution' of undefined at maybePromise.then (D:\Work\nativescript-cli\lib\common\services\hooks-service.ts:135:28)
Steps to reproduce:
- tns create test
- cd test
- tns plugin add [email protected]
- tns prepare android