Android API21 tns 2.3.0
I'm trying to implement a camera component using nativescript-sdk-examples-ng
After implementing the code, I get this error on running the app -
tns livesync ios --device 7a3c131309432ebae1a483f134ec8a4f8cdeecf4 --watch
Your application will be deployed only on the device specified by the provided index or identifier. Executing before-prepare hook from /Users/mohit/work/Mobile/native/finly-ng/hooks/before-prepare/nativescript-dev-typescript.js Found peer TypeScript 2.0.3 app/pages/expensephoto/expense-photo.component.ts(2,28): error TS2307: Cannot find module 'image-asset'.
node_modules/nativescript-camera/nativescript-camera.d.ts(1,29): error TS2307: Cannot find module 'image-asset'.
TypeScript compiler failed with exit code 1
How can I resolve this ?
node_modulesplatformsandhooksfolders. Clean cache usingnpm cache clearand try to build it againtns run <platform_name>- Nikolay Tsonev