Coder Social home page Coder Social logo

buttermewaffle / nativescript-ng-camerapreview Goto Github PK

View Code? Open in Web Editor NEW
5.0 5.0 1.0 1.96 MB

This is an exportable class that defines a camera preview for android (still working on IOS). The goal here is to have a camera preview that records video using an overlay button (kind of like SnapChat)

HTML 0.97% TypeScript 95.32% CSS 2.54% JavaScript 1.18%

nativescript-ng-camerapreview's People

Contributors

buttermewaffle avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

taljacobson

nativescript-ng-camerapreview's Issues

build issue

i get the following errors when i try to build the app as is.

node_modules/@angular/common/src/directives/ng_class.d.ts(46,34): error TS2304: Cannot find name 'Set'.

node_modules/@angular/common/src/pipes/async_pipe.d.ts(44,38): error TS2304: Cannot find name 'Promise'.

node_modules/@angular/compiler/src/compile_metadata.d.ts(347,20): error TS2304: Cannot find name 'Set'.

node_modules/@angular/compiler/src/compile_metadata.d.ts(348,15): error TS2304: Cannot find name 'Set'.
node_modules/@angular/compiler/src/directive_normalizer.d.ts(19,100): error TS2304: Cannot find name 'Promise'.

node_modules/@angular/compiler/src/directive_normalizer.d.ts(21,74): error TS2304: Cannot find name 'Promise'.
node_modules/@angular/compiler/src/offline_compiler.d.ts(19,32): error TS2304: Cannot find name 'Map'.

node_modules/@angular/compiler/src/offline_compiler.d.ts(43,9): error TS2304: Cannot find name 'Promise'.

node_modules/@angular/compiler/src/output/output_ast.d.ts(424,63): error TS2304: Cannot find name 'Set'.
node_modules/@angular/compiler/src/resource_loader.d.ts(13,23): error TS2304: Cannot find name 'Promise'.

node_modules/@angular/compiler/src/runtime_compiler.d.ts(45,49): error TS2304: Cannot find name 'Promise'.

node_modules/@angular/compiler/src/runtime_compiler.d.ts(47,65): error TS2304: Cannot find name 'Promise'.
node_modules/@angular/compiler/src/util.d.ts(25,18): error TS2304: Cannot find name 'Promise'.

node_modules/@angular/compiler/src/util.d.ts(26,46): error TS2304: Cannot find name 'Promise'.
node_modules/@angular/core/src/application_init.d.ts(16,18): error TS2304: Cannot find name 'Promise'.

node_modules/@angular/core/src/application_ref.d.ts(106,67): error TS2304: Cannot find name 'Promise'.

node_modules/@angular/core/src/application_ref.d.ts(122,101): error TS2304: Cannot find name 'Promise'.
node_modules/@angular/core/src/application_ref.d.ts(148,67): error TS2304: Cannot find name 'Promise'.
node_modules/@angular/core/src/application_ref.d.ts(150,101): error TS2304: Cannot find name 'Promise'.
node_modules/@angular/core/src/change_detection/differs/default_keyvalue_differ.d.ts(24,15): error TS2304: Cannot find name 'Map'.

node_modules/@angular/core/src/change_detection/differs/default_keyvalue_differ.d.ts(28,16): error TS2304: Cannot find name 'Map'.
node_modules/@angular/core/src/di/reflective_provider.d.ts(88,123): error TS2304: Cannot find name 'Map'.

node_modules/@angular/core/src/di/reflective_provider.d.ts(88,165): error TS2304: Cannot find name 'Map'.
node_modules/@angular/core/src/facade/collection.d.ts(4,9): error TS2304: Cannot find name 'Map'.

node_modules/@angular/core/src/facade/collection.d.ts(5,23): error TS2304: Cannot find name 'Map'.
node_modules/@angular/core/src/facade/collection.d.ts(6,25): error TS2304: Cannot find name 'Map'.

node_modules/@angular/core/src/facade/lang.d.ts(12,17): error TS2304: Cannot find name 'Map'.
node_modules/@angular/core/src/facade/lang.d.ts(13,17): error TS2304: Cannot find name 'Set'.

node_modules/@angular/core/src/linker/compiler.d.ts(53,49): error TS2304: Cannot find name 'Promise'.

node_modules/@angular/core/src/linker/compiler.d.ts(61,65): error TS2304: Cannot find name 'Promise'.
node_modules/@angular/core/src/linker/ng_module_factory_loader.d.ts(14,34): error TS2304: Cannot find name 'Promise'.

node_modules/@angular/core/src/linker/system_js_ng_module_factory_loader.d.ts(28,25): error TS2304: Cannot find name 'Promise'.

node_modules/@angular/core/src/util/lang.d.ts(8,53): error TS2304: Cannot find name 'Promise'.

node_modules/@angular/platform-browser/src/browser/browser_adapter.d.ts(79,33): error TS2304: Cannot find name 'Map'.

node_modules/@angular/platform-browser/src/dom/dom_adapter.d.ts(97,42): error TS2304: Cannot find name 'Map'.

node_modules/@angular/platform-browser/src/dom/dom_renderer.d.ts(18,37): error TS2304: Cannot find name 'Map'.
node_modules/@angular/platform-browser/src/facade/collection.d.ts(4,9): error TS2304: Cannot find name 'Map'.

node_modules/@angular/platform-browser/src/facade/collection.d.ts(5,23): error TS2304: Cannot find name 'Map'.

node_modules/@angular/platform-browser/src/facade/collection.d.ts(6,25): error TS2304: Cannot find name 'Map'.

node_modules/@angular/router/src/config.d.ts(279,62): error TS2304: Cannot find name 'Promise'.

node_modules/@angular/router/src/interfaces.d.ts(78,99): error TS2304: Cannot find name 'Promise'.

node_modules/@angular/router/src/interfaces.d.ts(157,109): error TS2304: Cannot find name 'Promise'.
node_modules/@angular/router/src/interfaces.d.ts(227,115): error TS2304: Cannot find name 'Promise'.
node_modules/@angular/router/src/interfaces.d.ts(297,91): error TS2304: Cannot find name 'Promise'.

node_modules/@angular/router/src/interfaces.d.ts(367,50): error TS2304: Cannot find name 'Promise'.

node_modules/@angular/router/src/router.d.ts(386,70): error TS2304: Cannot find name 'Promise'.
node_modules/@angular/router/src/router.d.ts(408,59): error TS2304: Cannot find name 'Promise'.

node_modules/@angular/router/src/utils/collection.d.ts(35,58): error TS2304: Cannot find name 'Promise'.
node_modules/nativescript-angular/parse5_adapter.d.ts(84,33): error TS2304: Cannot find name 'Map'.

node_modules/nativescript-angular/resource-loader.d.ts(4,23): error TS2304: Cannot find name 'Promise'.
node_modules/nativescript-angular/router/router-extensions.d.ts(10,67): error TS2304: Cannot find name 'Promise'.
node_modules/nativescript-angular/router/router-extensions.d.ts(11,72): error TS2304: Cannot find name 'Promise'.

node_modules/nativescript-permissions/index.d.ts(8,83): error TS2304: Cannot find name 'Promise'.

node_modules/nativescript-permissions/index.d.ts(10,74): error TS2304: Cannot find name 'Promise'.

node_modules/rxjs/Observable.d.ts(10,66): error TS2304: Cannot find name 'Promise'.
node_modules/rxjs/Observable.d.ts(66,60): error TS2304: Cannot find name 'Promise'.

node_modules/rxjs/Observable.d.ts(66,70): error TS2304: Cannot find name 'Promise'.

node_modules/tns-core-modules/camera/camera.d.ts(11,59): error TS2304: Cannot find name 'Promise'.

node_modules/tns-core-modules/declarations.d.ts(51,17): error TS2304: Cannot find name 'Promise'.

node_modules/tns-core-modules/declarations.d.ts(52,13): error TS2304: Cannot find name 'Promise'.
node_modules/tns-core-modules/declarations.d.ts(53,13): error TS2304: Cannot find name 'Promise'.
node_modules/tns-core-modules/declarations.d.ts(81,58): error TS2304: Cannot find name 'Promise'.

node_modules/tns-core-modules/file-system/file-system.d.ts(35,19): error TS2304: Cannot find name 'Promise'.

node_modules/tns-core-modules/file-system/file-system.d.ts(46,34): error TS2304: Cannot find name 'Promise'.
node_modules/tns-core-modules/file-system/file-system.d.ts(85,38): error TS2304: Cannot find name 'Promise'.

node_modules/tns-core-modules/file-system/file-system.d.ts(105,56): error TS2304: Cannot find name 'Promise'.

node_modules/tns-core-modules/file-system/file-system.d.ts(154,18): error TS2304: Cannot find name 'Promise'.
node_modules/tns-core-modules/file-system/file-system.d.ts(177,24): error TS2304: Cannot find name 'Promise'.

node_modules/tns-core-modules/file-system/file-system.d.ts(183,57): error TS2304: Cannot find name 'Promise'.

node_modules/tns-core-modules/http/http.d.ts(12,45): error TS2304: Cannot find name 'Promise'.

node_modules/tns-core-modules/http/http.d.ts(18,61): error TS2304: Cannot find name 'Promise'.
node_modules/tns-core-modules/http/http.d.ts(24,46): error TS2304: Cannot find name 'Promise'.
node_modules/tns-core-modules/http/http.d.ts(30,62): error TS2304: Cannot find name 'Promise'.

node_modules/tns-core-modules/http/http.d.ts(36,44): error TS2304: Cannot find name 'Promise'.

node_modules/tns-core-modules/http/http.d.ts(42,60): error TS2304: Cannot find name 'Promise'.

node_modules/tns-core-modules/http/http.d.ts(49,73): error TS2304: Cannot find name 'Promise'.
node_modules/tns-core-modules/http/http.d.ts(56,89): error TS2304: Cannot find name 'Promise'.
node_modules/tns-core-modules/http/http.d.ts(62,59): error TS2304: Cannot find name 'Promise'.
node_modules/tns-core-modules/http/http.d.ts(138,24): error TS2304: Cannot find name 'Promise'.
node_modules/tns-core-modules/image-source/image-source.d.ts(39,56): error TS2304: Cannot find name 'Promise'.
node_modules/tns-core-modules/image-source/image-source.d.ts(51,37): error TS2304: Cannot find name 'Promise'.

node_modules/tns-core-modules/image-source/image-source.d.ts(63,33): error TS2304: Cannot find name 'Promise'.

node_modules/tns-core-modules/image-source/image-source.d.ts(75,30): error TS2304: Cannot find name 'Promise'.

node_modules/tns-core-modules/image-source/image-source.d.ts(87,37): error TS2304: Cannot find name 'Promise'.

node_modules/tns-core-modules/image-source/image-source.d.ts(112,68): error TS2304: Cannot find name 'Promise'.
node_modules/tns-core-modules/image-source/image-source.d.ts(149,43): error TS2304: Cannot find name 'Promise'.

node_modules/tns-core-modules/location/location.d.ts(184,53): error TS2304: Cannot find name 'Promise'.

node_modules/tns-core-modules/ui/animation/animation.d.ts(88,43): error TS2304: Cannot find name 'Promise'.
node_modules/tns-core-modules/ui/animation/keyframe-animation.d.ts(87,43): error TS2304: Cannot find name 'Promise'.

node_modules/tns-core-modules/ui/core/view.d.ts(360,21): error TS2304: Cannot find name 'Set'.

node_modules/tns-core-modules/ui/core/view.d.ts(361,27): error TS2304: Cannot find name 'Set'.
node_modules/tns-core-modules/ui/dialogs/dialogs.d.ts(24,45): error TS2304: Cannot find name 'Promise'.
node_modules/tns-core-modules/ui/dialogs/dialogs.d.ts(30,51): error TS2304: Cannot find name 'Promise'.
node_modules/tns-core-modules/ui/dialogs/dialogs.d.ts(36,47): error TS2304: Cannot find name 'Promise'.
node_modules/tns-core-modules/ui/dialogs/dialogs.d.ts(42,55): error TS2304: Cannot find name 'Promise'.
node_modules/tns-core-modules/ui/dialogs/dialogs.d.ts(49,68): error TS2304: Cannot find name 'Promise'.
node_modules/tns-core-modules/ui/dialogs/dialogs.d.ts(55,53): error TS2304: Cannot find name 'Promise'.
node_modules/tns-core-modules/ui/dialogs/dialogs.d.ts(63,83): error TS2304: Cannot find name 'Promise'.

node_modules/tns-core-modules/ui/dialogs/dialogs.d.ts(69,51): error TS2304: Cannot find name 'Promise'.
node_modules/tns-core-modules/ui/dialogs/dialogs.d.ts(77,96): error TS2304: Cannot find name 'Promise'.
node_modules/tns-core-modules/ui/dialogs/dialogs.d.ts(83,53): error TS2304: Cannot find name 'Promise'.
node_modules/tns-core-modules/ui/styling/css-selector.d.ts(13,22): error TS2304: Cannot find name 'Set'.
node_modules/tns-core-modules/ui/styling/css-selector.d.ts(14,28): error TS2304: Cannot find name 'Set'.
node_modules/tns-core-modules/ui/styling/css-selector.d.ts(52,38): error TS2304: Cannot find name 'Map'.
node_modules/tns-core-modules/ui/styling/css-selector.d.ts(55,22): error TS2304: Cannot find name 'Set'.
node_modules/tns-core-modules/ui/styling/css-selector.d.ts(56,25): error TS2304: Cannot find name 'Set'.

TypeScript compiler failed with exit code 1```

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.