videogular / videogular2

The HTML5 video player for Angular 2
https://videogular.github.io/videogular2-showroom/#/
MIT License
670 stars 211 forks source link

Angular 9 Ivy issue while ng serve #881

Closed nitinht1988 closed 4 years ago

nitinht1988 commented 4 years ago

Description

ERROR in node_modules/videogular2/compiled/src/core/core.d.ts:29:22 - error NG6002: Appears in the NgModule.imports of ABCModule, but could not be resolved to an NgModule class

29 export declare class VgCoreModule {

node_modules/videogular2/compiled/src/controls/controls.d.ts:1:22 - error NG6002: Appears in the NgModule.imports of ABCModule, but could not be resolved to an NgModule class

1 export declare class VgControlsModule {

node_modules/videogular2/compiled/src/overlay-play/overlay-play.d.ts:1:22 - error NG6002: Appears in the NgModule.imports of ABCModule, but could not be resolved to an NgModule class

1 export declare class VgOverlayPlayModule {


node_modules/videogular2/compiled/src/buffering/buffering.d.ts:1:22 - error NG6002: Appears in the NgModule.imports of ABCModule, but could not be resolved to an NgModule class

1 export declare class VgBufferingModule {

### Expected Behavior
It should work while running ng serve

### Actual Behavior
ng serve is giving this error

### Steps to Reproduce

"videogular2": "7.0.1",

import { VgCoreModule } from 'videogular2/compiled/core';
import { VgControlsModule } from 'videogular2/compiled/controls';
import { VgOverlayPlayModule } from 'videogular2/compiled/overlay-play';
import { VgBufferingModule } from 'videogular2/compiled/buffering';
nitinht1988 commented 4 years ago

@patrikx3 @p3x-robot @jorgeucano can you please help me to fix this. TIA

p3x-robot commented 4 years ago

use ngx-videogular instead of videogular2

p3x-robot commented 4 years ago

https://github.com/sliceofbytes/ngx-videogular

nitinht1988 commented 4 years ago

Thank you @p3x-robot.

MarvinKweyu commented 4 years ago

@nitinht1988 , @p3x-robot is there documentation for https://github.com/sliceofbytes/ngx-videogular ? IN terms of import paths and configurations? I cannot to seem to find documentation for this.