videogular2 icon indicating copy to clipboard operation
videogular2 copied to clipboard

vg-player.ngfactory.js is missing from the TypeScript compilation

Open jonbesga opened this issue 7 years ago • 4 comments
trafficstars

Description

Angular ng build --prod fails. Using Angular CLI: 7.0.0-rc-1 and Angular 7.0.0-rc.0.

Seems to be a problem when building with AOT

Expected Behavior

Build without problem

Actual Behavior

ERROR in ./node_modules/videogular2/src/core/vg-player/vg-player.ngfactory.js
Module build failed (from ./node_modules/@ngtools/webpack/src/index.js):
Error: /home/jon-be/Projects/help-pipe/node_modules/videogular2/src/core/vg-player/vg-player.ngfactory.js is missing from the TypeScript compilation. Please make sure it is in your tsconfig via the 'files' or 'include' property.
The missing file seems to be part of a third party library. TS files in published libraries are often a sign of a badly packaged library. Please open an issue in the library repository to alert its author and ask them to package the library using the Angular Package Format (https://goo.gl/jB3GVv).
    at AngularCompilerPlugin.getCompiledFile (/home/jon-be/Projects/help-pipe/node_modules/@ngtools/webpack/src/angular_compiler_plugin.js:743:23)
    at plugin.done.then (/home/jon-be/Projects/help-pipe/node_modules/@ngtools/webpack/src/loader.js:41:31)
    at process._tickCallback (internal/process/next_tick.js:68:7)

jonbesga avatar Oct 05 '18 14:10 jonbesga

We're working on this 👍

Elecash avatar Oct 08 '18 08:10 Elecash

Me too :)

danvucore avatar Oct 15 '18 07:10 danvucore

@Elecash Any progress? :) We needed fork to add offsets and we also changed your TSLint/TSConfig so it would be a bit hard to give you PR. But maybe we could somehow figure it out to cooperate on this. :)

BleedingDev avatar Oct 22 '18 17:10 BleedingDev

Update: Updating Videogular2 deps and our project deps to stable ^7.0.0 everything from Angular fixed it.

BleedingDev avatar Oct 22 '18 19:10 BleedingDev