-
-
Notifications
You must be signed in to change notification settings - Fork 46
Closed
Description
I've followed the instructions in the readme and the nativescript-camera-*.tgz is created. How do I now run the demo app?
I've tried:
$ /examples/CameraTest
$ npm install
$ tns plugin add /Users/daniel_rochelle/Documents/GitHub/repos/nativescript-camera/dist/package
$ tns run ios
but this gives me the following error:
Copying template files...
Project successfully created.
Executing before-prepare hook from /Users/daniel_rochelle/Documents/GitHub/repos/nativescript-camera/examples/CameraTest/hooks/before-prepare/nativescript-dev-typescript.js
Found peer TypeScript 2.0.3
node_modules/tns-core-modules/declarations.d.ts(51,25): error TS2304: Cannot find name 'FormData'.
node_modules/tns-core-modules/declarations.d.ts(78,25): error TS2304: Cannot find name 'Blob'.
node_modules/tns-core-modules/declarations.d.ts(78,30): error TS2304: Cannot find name 'FormData'.
node_modules/tns-core-modules/declarations.d.ts(84,17): error TS2304: Cannot find name 'FormData'.
node_modules/tns-core-modules/http/http.d.ts(86,28): error TS2304: Cannot find name 'FormData'.
TypeScript compiler failed with exit code 1
Am I missing some plugins?
Thanks
Metadata
Metadata
Assignees
Labels
No labels