Giter VIP home page Giter VIP logo

angular-components-library's Introduction

Angular Components Library

The Angular components we maintain and use, check out each one of them below:

Development

  1. Clone the repo

    git clone https://github.com/Jam3/angular-components-library.git
  2. Install dependencies

    cd angular-components-library
    npm install
  3. Start hacking

    npm start
  4. Build the library

    npm run build ytplayer

angular-components-library's People

Contributors

neo avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

angular-components-library's Issues

Error when build with product

Dear Team!
I has an error when build with ng build --prod

ERROR in Error during template compile of 'YTPlayerModule'
  Function calls are not supported in decorators but 'YTPlayerConfig' was called.

How do I solve this
Thanks

Won't compile if @types/youtube is not included in package.json

Using "angular-youtube-player": "^1.0.2"
Specifically, the following error occurs when building the application:

ERROR in node_modules/angular-youtube-player/lib/ytplayer.component.d.ts(8,26): error TS2503: Cannot find namespace 'YT'.
node_modules/angular-youtube-player/lib/ytplayer.component.d.ts(1,23): error TS2688: Cannot find type definition file for 'youtube'.

I managed to resolve this by adding "@types/youtube": "^0.0.35" to my package.json under devDependencies, but since this wasn't documented anywhere I figured I should report this bug.

Object(...) is not a function

After updating from 1.0.2 to 1.0.3 I started getting an error during the run-time (build is successful):

ERROR TypeError: Object(...) is not a function
at angular-youtube-player.js:164
at Module../node_modules/angular-youtube-player/fesm5/angular-youtube-player.js (angular-youtube-player.js:166)

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.