videogular2
videogular2 copied to clipboard
vg-player.ngfactory.js is missing from the TypeScript compilation
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)
We're working on this 👍
Me too :)
@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. :)
Update: Updating Videogular2 deps and our project deps to stable ^7.0.0 everything from Angular fixed it.