-
Notifications
You must be signed in to change notification settings - Fork 306
Videogular2 not working with Ionic 2 #178
Comments
Hello, thanks for using Ionic! Since this looks to be an error with the library you are using (looks like it does not support Angular 2 AoT compile) I will be closing this issue and asking that you open an issue on that libraries repo instead. |
Hello, I have this same problem. This issue is actually with ionic-app-scripts, not videogular 2. Here is the error I'm getting: [11:57:57] Error: Unexpected value 'VgCore' imported by the module 'AppModule' Compiling using the angular cli using AoT compile does not produce this issue: videogular/videogular2#249 I did some digging and it may be the way ionic-app-scripts uses angular cli: angular/angular-cli#2763 I am using: ionic-app-scripts 0.0.46 I hope this helps! |
I had the same problem as well. I was able to get it working. Delete node_modules\videogular2\node_modules I hope this helps! |
+1 |
Short description of the problem:
I simply want to display a video in iOS such that it autoplays and user does NOT get any option to play/pause/stop it. What I am basically doing is trying to make a video splash screen. None of the ionic-native plugins have this support, so I am trying to integrate Videogular2 in Ionic 2. This is not working. The video is available locally.
ionic-app-scripts build fails:
[04:05:20] Error: Unexpected value 'VgCore' imported by the module 'AppModule'
[04:05:20] ngc failed
[04:05:20] ionic-app-script task: "build"
[04:05:20] Error: Error
What behavior are you expecting?
The video runs fine.
Steps to reproduce:
sudo npm install -g videogular2 --save
Headers:
Then:
ionic serve
Which Ionic Version? 2.x
The text was updated successfully, but these errors were encountered: