vime-js / vime

Customizable, extensible, accessible and framework agnostic media player. Modern alternative to Video.js and Plyr. Supports HTML5, HLS, Dash, YouTube, Vimeo, Dailymotion...
https://vimejs.com
MIT License
2.75k stars 154 forks source link

Angular build fail. Tried to write with an ngcc back up file but it already exists so not writing #114

Closed bharaba closed 3 years ago

bharaba commented 3 years ago

When adding the package, this error shows up. Ng serve doesn't seem to have issues. Publishing will cause the vime code to be ignored.

2020-11-18T07:47:08.8695319Z Compiling @angular/core : es2015 as esm2015 2020-11-18T07:47:08.8695881Z > my-if-com-spa@0.1.0 build:prod SOURCE 2020-11-18T07:47:08.8696285Z > ng build --prod 2020-11-18T07:47:08.8696592Z Compiling @angular/cdk/keycodes : es2015 as esm2015 2020-11-18T07:47:08.8696931Z Compiling @angular/animations : es2015 as esm2015 2020-11-18T07:47:08.8697352Z Compiling @angular/compiler/testing : es2015 as esm2015 2020-11-18T07:47:08.8697574Z 2020-11-18T07:47:08.8697832Z Compiling @angular/common : es2015 as esm2015 2020-11-18T07:47:08.8698202Z Generating ES5 bundles for differential loading... 2020-11-18T07:47:08.8698567Z ES5 bundle generation complete. 2020-11-18T07:47:08.8698736Z 2020-11-18T07:47:08.8699044Z chunk {0} runtime-es2015.345569f89d8714493fb3.js (runtime) 2.39 kB [entry] [rendered] 2020-11-18T07:47:08.8699543Z Compiling @angular/animations/browser : es2015 as esm2015 2020-11-18T07:47:08.8699952Z chunk {0} runtime-es5.345569f89d8714493fb3.js (runtime) 2.39 kB [entry] [rendered] 2020-11-18T07:47:08.8700398Z Compiling @angular/cdk/observers : es2015 as esm2015 2020-11-18T07:47:08.8703612Z chunk {4} polyfills-es2015.55e4ed37872a6f66bec0.js (polyfills) 36.1 kB [initial] [rendered] 2020-11-18T07:47:08.8705442Z chunk {8} 8-es2015.cbb45b1eb608e75033d7.js () 6.34 kB [rendered] 2020-11-18T07:47:08.8706365Z chunk {8} 8-es5.cbb45b1eb608e75033d7.js () 6.71 kB [rendered] 2020-11-18T07:47:08.8707047Z chunk {10} 10-es2015.29c8f310e9d46a57db57.js () 7.22 kB [rendered] 2020-11-18T07:47:08.8707961Z Compiling @angular/cdk/platform : es2015 as esm2015 2020-11-18T07:47:08.8708284Z Compiling @angular/platform-browser : es2015 as esm2015 2020-11-18T07:47:08.8711916Z Compiling @angular/cdk/bidi : es2015 as esm2015 2020-11-18T07:47:08.8712800Z Compiling @angular/cdk/a11y : es2015 as esm2015 2020-11-18T07:47:08.8713153Z Compiling @angular/forms : es2015 as esm2015 2020-11-18T07:47:08.8713720Z Compiling @angular/platform-browser/animations : es2015 as esm2015 2020-11-18T07:47:08.8714657Z Compiling @angular/cdk/collections : es2015 as esm2015 2020-11-18T07:47:08.8715238Z Compiling @angular/cdk/portal : es2015 as esm2015 2020-11-18T07:47:08.8715605Z Compiling @angular/material/core : es2015 as esm2015 2020-11-18T07:47:08.8716220Z Compiling @angular/cdk/scrolling : es2015 as esm2015 2020-11-18T07:47:08.8716773Z Compiling @angular/common/http : es2015 as esm2015 2020-11-18T07:47:08.8717321Z Compiling @angular/cdk/overlay : es2015 as esm2015 2020-11-18T07:47:08.8717875Z Compiling @angular/material/form-field : es2015 as esm2015 2020-11-18T07:47:08.8718288Z Compiling @ngrx/store : es2015 as esm2015 2020-11-18T07:47:08.8718623Z Compiling @angular/cdk/layout : es2015 as esm2015 2020-11-18T07:47:08.8718941Z Compiling @angular/material/button : es2015 as esm2015 2020-11-18T07:47:08.8719299Z Compiling @angular/router : es2015 as esm2015 2020-11-18T07:47:08.8719607Z Compiling @angular/cdk/text-field : es2015 as esm2015 2020-11-18T07:47:08.8719927Z Compiling @angular/material/icon : es2015 as esm2015 2020-11-18T07:47:08.8720300Z Compiling @angular/material/select : es2015 as esm2015 2020-11-18T07:47:08.8722370Z Compiling @angular/material/tooltip : es2015 as esm2015 2020-11-18T07:47:08.8722729Z Compiling @angular/core/testing : es2015 as esm2015 2020-11-18T07:47:08.8723048Z Compiling @angular/material/dialog : es2015 as esm2015 2020-11-18T07:47:08.8723461Z Compiling @angular/material/input : es2015 as esm2015 2020-11-18T07:47:08.8723807Z Compiling @angular/cdk/accordion : es2015 as esm2015 2020-11-18T07:47:08.8724263Z Compiling @angular/material/divider : es2015 as esm2015 2020-11-18T07:47:08.8724706Z Compiling @angular/cdk/stepper : es2015 as esm2015 2020-11-18T07:47:08.8725043Z Compiling @angular/cdk/table : es2015 as esm2015 2020-11-18T07:47:08.8725367Z Compiling @angular/material/paginator : es2015 as esm2015 2020-11-18T07:47:08.8725766Z Compiling @angular/material/sort : es2015 as esm2015 2020-11-18T07:47:08.8726080Z Compiling @angular/cdk/tree : es2015 as esm2015 2020-11-18T07:47:08.8726426Z Compiling @angular/platform-browser-dynamic : es2015 as esm2015 2020-11-18T07:47:08.8726816Z Compiling @angular/platform-browser/testing : es2015 as esm2015 2020-11-18T07:47:08.8727222Z Compiling @angular/common/testing : es2015 as esm2015 2020-11-18T07:47:08.8727579Z Compiling @fortawesome/angular-fontawesome : es2015 as esm2015 2020-11-18T07:47:08.8727912Z Compiling @ngrx/effects : es2015 as esm2015 2020-11-18T07:47:08.8728279Z Compiling @ngx-translate/core : es2015 as esm2015 2020-11-18T07:47:08.8728629Z Compiling @angular/animations/browser/testing : es2015 as esm2015 2020-11-18T07:47:08.8728977Z Compiling @angular/cdk/clipboard : es2015 as esm2015 2020-11-18T07:47:08.8729390Z Compiling @angular/cdk/drag-drop : es2015 as esm2015 2020-11-18T07:47:08.8729751Z Compiling @angular/common/http/testing : es2015 as esm2015 2020-11-18T07:47:08.8730119Z Compiling @angular/material/autocomplete : es2015 as esm2015 2020-11-18T07:47:08.8730414Z Compiling @angular/material/badge : es2015 as esm2015 2020-11-18T07:47:08.8730713Z Compiling @angular/material/bottom-sheet : es2015 as esm2015 2020-11-18T07:47:08.8731131Z Compiling @angular/material/button-toggle : es2015 as esm2015 2020-11-18T07:47:08.8731375Z Compiling @angular/material/card : es2015 as esm2015 2020-11-18T07:47:08.8732408Z Compiling @angular/material/checkbox : es2015 as esm2015 2020-11-18T07:47:08.8732799Z Compiling @angular/material/chips : es2015 as esm2015 2020-11-18T07:47:08.8733144Z Compiling @angular/material/datepicker : es2015 as esm2015 2020-11-18T07:47:08.8733558Z Compiling @angular/material/expansion : es2015 as esm2015 2020-11-18T07:47:08.8734713Z Compiling @angular/material/grid-list : es2015 as esm2015 2020-11-18T07:47:08.8735096Z Compiling @angular/material/icon/testing : es2015 as esm2015 2020-11-18T07:47:08.8735360Z Compiling @angular/material/list : es2015 as esm2015 2020-11-18T07:47:08.8735650Z Compiling @angular/material/menu : es2015 as esm2015 2020-11-18T07:47:08.8735894Z Compiling @angular/material/progress-bar : es2015 as esm2015 2020-11-18T07:47:08.8736158Z Compiling @angular/material/progress-spinner : es2015 as esm2015 2020-11-18T07:47:08.8736481Z Compiling @angular/material/radio : es2015 as esm2015 2020-11-18T07:47:08.8736718Z Compiling @angular/material/sidenav : es2015 as esm2015 2020-11-18T07:47:08.8736967Z Compiling @angular/material/slide-toggle : es2015 as esm2015 2020-11-18T07:47:08.8737255Z Compiling @angular/material/slider : es2015 as esm2015 2020-11-18T07:47:08.8737498Z Compiling @angular/material/snack-bar : es2015 as esm2015 2020-11-18T07:47:08.8737740Z Compiling @angular/material/stepper : es2015 as esm2015 2020-11-18T07:47:08.8737985Z Compiling @angular/material/table : es2015 as esm2015 2020-11-18T07:47:08.8738262Z Compiling @angular/material/tabs : es2015 as esm2015 2020-11-18T07:47:08.8738496Z Compiling @angular/material/toolbar : es2015 as esm2015 2020-11-18T07:47:08.8738730Z Compiling @angular/material/tree : es2015 as esm2015 2020-11-18T07:47:08.8739033Z Compiling @angular/platform-browser-dynamic/testing : es2015 as esm2015 2020-11-18T07:47:08.8739296Z Compiling @angular/router/testing : es2015 as esm2015 2020-11-18T07:47:08.8739537Z Compiling @angular-extensions/elements : es2015 as esm2015 2020-11-18T07:47:08.8739842Z Compiling @angular-extensions/elements/testing : es2015 as esm2015 2020-11-18T07:47:08.8740393Z Compiling @angular-extensions/model : es2015 as esm2015 2020-11-18T07:47:08.8740640Z Compiling @azure/msal-angular : es2015 as esm2015 2020-11-18T07:47:08.8740893Z Compiling @fortawesome/angular-fontawesome/testing : es2015 as esm2015 2020-11-18T07:47:08.8741197Z Compiling @ngrx/effects/testing : es2015 as esm2015 2020-11-18T07:47:08.8741421Z Compiling @ngrx/entity : es2015 as esm2015 2020-11-18T07:47:08.8741637Z Compiling @ngrx/router-store : es2015 as esm2015 2020-11-18T07:47:08.8742645Z Compiling @ngrx/store/testing : es2015 as esm2015 2020-11-18T07:47:08.8742909Z Compiling @ngrx/store-devtools : es2015 as esm2015 2020-11-18T07:47:08.8743149Z Compiling @ngx-translate/http-loader : es2015 as esm2015 2020-11-18T07:47:08.8743435Z Compiling @vime/angular : es2015 as esm2015 2020-11-18T07:47:08.8743646Z Compiling @vime/angular : es2015 as esm2015 2020-11-18T07:47:08.8743875Z Compiling angular-google-charts : es2015 as esm2015 2020-11-18T07:47:08.8744335Z Compiling ngx-skeleton-loader : es2015 as esm2015 2020-11-18T07:47:08.8745128Z Warning: Unable to fully load SOURCE/node_modules/@vime/angular/dist/components/VimeAudio.d.ts for source-map flattening: Circular source file mapping dependency: SOURCE/node_modules/@vime/angular/dist/components/VimeAudio.d.ts.map -> SOURCE/node_modules/@vime/angular/dist/components/VimeAudio.d.ts.map 2020-11-18T07:47:08.8746366Z Warning: Unable to fully load SOURCE/node_modules/@vime/angular/dist/components/VimeCaptionControl.d.ts for source-map flattening: Circular source file mapping dependency: SOURCE/node_modules/@vime/angular/dist/components/VimeCaptionControl.d.ts.map -> SOURCE/node_modules/@vime/angular/dist/components/VimeCaptionControl.d.ts.map 2020-11-18T07:47:08.8747775Z Warning: Unable to fully load SOURCE/node_modules/@vime/angular/dist/components/VimeCaptions.d.ts for source-map flattening: Circular source file mapping dependency: SOURCE/node_modules/@vime/angular/dist/components/VimeCaptions.d.ts.map -> SOURCE/node_modules/@vime/angular/dist/components/VimeCaptions.d.ts.map 2020-11-18T07:47:08.8750043Z Warning: Unable to fully load SOURCE/node_modules/@vime/angular/dist/components/VimeClickToPlay.d.ts for source-map flattening: Circular source file mapping dependency: SOURCE/node_modules/@vime/angular/dist/components/VimeClickToPlay.d.ts.map -> SOURCE/node_modules/@vime/angular/dist/components/VimeClickToPlay.d.ts.map 2020-11-18T07:47:08.8751380Z Warning: Unable to fully load SOURCE/node_modules/@vime/angular/dist/components/VimeControl.d.ts for source-map flattening: Circular source file mapping dependency: SOURCE/node_modules/@vime/angular/dist/components/VimeControl.d.ts.map -> SOURCE/node_modules/@vime/angular/dist/components/VimeControl.d.ts.map 2020-11-18T07:47:08.8752666Z Warning: Unable to fully load SOURCE/node_modules/@vime/angular/dist/components/VimeControlGroup.d.ts for source-map flattening: Circular source file mapping dependency: SOURCE/node_modules/@vime/angular/dist/components/VimeControlGroup.d.ts.map -> SOURCE/node_modules/@vime/angular/dist/components/VimeControlGroup.d.ts.map 2020-11-18T07:47:08.8754343Z Warning: Unable to fully load SOURCE/node_modules/@vime/angular/dist/components/VimeControlSpacer.d.ts for source-map flattening: Circular source file mapping dependency: SOURCE/node_modules/@vime/angular/dist/components/VimeControlSpacer.d.ts.map -> SOURCE/node_modules/@vime/angular/dist/components/VimeControlSpacer.d.ts.map 2020-11-18T07:47:08.8755627Z Warning: Unable to fully load SOURCE/node_modules/@vime/angular/dist/components/VimeControls.d.ts for source-map flattening: Circular source file mapping dependency: SOURCE/node_modules/@vime/angular/dist/components/VimeControls.d.ts.map -> SOURCE/node_modules/@vime/angular/dist/components/VimeControls.d.ts.map 2020-11-18T07:47:08.8756906Z Warning: Unable to fully load SOURCE/node_modules/@vime/angular/dist/components/VimeCurrentTime.d.ts for source-map flattening: Circular source file mapping dependency: SOURCE/node_modules/@vime/angular/dist/components/VimeCurrentTime.d.ts.map -> SOURCE/node_modules/@vime/angular/dist/components/VimeCurrentTime.d.ts.map 2020-11-18T07:47:08.8758189Z Warning: Unable to fully load SOURCE/node_modules/@vime/angular/dist/components/VimeDailymotion.d.ts for source-map flattening: Circular source file mapping dependency: SOURCE/node_modules/@vime/angular/dist/components/VimeDailymotion.d.ts.map -> SOURCE/node_modules/@vime/angular/dist/components/VimeDailymotion.d.ts.map 2020-11-18T07:47:08.8759396Z Warning: Unable to fully load SOURCE/node_modules/@vime/angular/dist/components/VimeDash.d.ts for source-map flattening: Circular source file mapping dependency: SOURCE/node_modules/@vime/angular/dist/components/VimeDash.d.ts.map -> SOURCE/node_modules/@vime/angular/dist/components/VimeDash.d.ts.map 2020-11-18T07:47:08.8760685Z Warning: Unable to fully load SOURCE/node_modules/@vime/angular/dist/components/VimeDblClickFullscreen.d.ts for source-map flattening: Circular source file mapping dependency: SOURCE/node_modules/@vime/angular/dist/components/VimeDblClickFullscreen.d.ts.map -> SOURCE/node_modules/@vime/angular/dist/components/VimeDblClickFullscreen.d.ts.map

... omitting for brevity.

2020-11-18T07:47:08.8844348Z Error: Tried to write SOURCE/node_modules/@vime/angular/dist/components/VimeAudio.d.ts.ivy_ngcc_bak with an ngcc back up file but it already exists so not writing, nor backing up, SOURCE/node_modules/@vime/angular/dist/components/VimeAudio.d.ts. 2020-11-18T07:47:08.8845401Z This error may be because two or more entry-points overlap and ngcc has been asked to process some files more than once. 2020-11-18T07:47:08.8846005Z You should check other entry-points in this package and set up a config to ignore any that you are not using. 2020-11-18T07:47:08.8846975Z Error: Tried to write SOURCE/node_modules/@vime/angular/dist/components/VimeCaptionControl.d.ts.ivy_ngcc_bak with an ngcc back up file but it already exists so not writing, nor backing up, SOURCE/node_modules/@vime/angular/dist/components/VimeCaptionControl.d.ts. 2020-11-18T07:47:08.8848448Z This error may be because two or more entry-points overlap and ngcc has been asked to process some files more than once. 2020-11-18T07:47:08.8849205Z You should check other entry-points in this package and set up a config to ignore any that you are not using.

... omitting for brevity.

2020-11-18T07:47:08.8898332Z Error: Tried to write SOURCE/node_modules/@vime/angular/dist/components/VimeFaketube.d.ts.ivy_ngcc_bak with an ngcc back up file but it already exists so not writing, nor backing up, SOURCE/node_modules/@vime/angular/dist/components/VimeFaketube.d.ts. 2020-11-18T07:47:08.8900467Z This error may be because two or more entry-points overlap and ngcc has been asked to process some files more than once. 2020-11-18T07:47:08.8900831Z chunk {10} 10-es5.29c8f310e9d46a57db57.js () 7.73 kB [rendered] 2020-11-18T07:47:08.8901176Z chunk {2} common-es2015.bbb21e92ae20c1f8eef8.js (common) 2.51 kB [rendered] 2020-11-18T07:47:08.8902914Z chunk {2} common-es5.bbb21e92ae20c1f8eef8.js (common) 2.98 kB [rendered] 2020-11-18T07:47:08.8903317Z chunk {11} 11-es2015.366270cf442395d9e352.js () 4.5 kB [rendered] 2020-11-18T07:47:08.8903771Z chunk {11} 11-es5.366270cf442395d9e352.js () 5.93 kB [rendered] 2020-11-18T07:47:08.8904323Z chunk {5} polyfills-es5.6f46445b7421a2f22693.js (polyfills-es5) 129 kB [initial] [rendered] 2020-11-18T07:47:08.8904700Z chunk {7} 7-es2015.096cc2814c1c0f877378.js () 36.2 kB [rendered] 2020-11-18T07:47:08.8905105Z chunk {7} 7-es5.096cc2814c1c0f877378.js () 38.2 kB [rendered] 2020-11-18T07:47:08.8905449Z chunk {1} 1-es2015.f2cbcac3acb9ebf9e839.js () 249 kB [rendered] 2020-11-18T07:47:08.8905958Z chunk {1} 1-es5.f2cbcac3acb9ebf9e839.js () 273 kB [rendered] 2020-11-18T07:47:08.8907497Z chunk {9} 9-es2015.6262afecb23deb08f809.js () 31 kB [rendered] 2020-11-18T07:47:08.8907859Z chunk {9} 9-es5.6262afecb23deb08f809.js () 32.7 kB [rendered] 2020-11-18T07:47:08.8908240Z chunk {3} main-es2015.0ccbf247675bdec914bb.js (main) 960 kB [initial] [rendered] 2020-11-18T07:47:08.8908635Z chunk {3} main-es5.0ccbf247675bdec914bb.js (main) 1.07 MB [initial] [rendered] 2020-11-18T07:47:08.8909293Z chunk {6} styles.e65d40ec3c0cb056b15e.css (styles) 319 kB [initial] [rendered] 2020-11-18T07:47:08.8910323Z Date: 2020-11-18T07:47:08.513Z - Hash: 901907e10c1849acb5ee - Time: 250788ms 2020-11-18T07:47:08.8912442Z You should check other entry-points in this package and set up a config to ignore any that you are not using. 2020-11-18T07:47:08.8913573Z Error: Tried to write SOURCE/node_modules/@vime/angular/dist/components/VimeFile.d.ts.ivy_ngcc_bak with an ngcc back up file but it already exists so not writing, nor backing up, SOURCE/node_modules/@vime/angular/dist/components/VimeFile.d.ts.

... omitting for brevity.

jacopo69 commented 3 years ago

Same issue for me:

This error may be because two or more entry-points overlap and ngcc has been asked to process some files more than once. You should check other entry-points in this package and set up a config to ignore any that you are not using.

jnurse13 commented 3 years ago

Any news?

mihar-22 commented 3 years ago

Hey @jnurse13 apologies I'm behind on some of these issues but I can't address them until I complete the next major release (v5) which has a lot of changes, and lots of awesome new stuff coming that people have been waiting on. Until then there'll be a delay on me fixing the library integrations. You can expect about 2 weeks before I get here.

jnurse13 commented 3 years ago

Thank you for the update - works great in dev

Sent from my iPhone

On 6 Dec 2020, at 08:05, Rahim Alwer notifications@github.com wrote:  Hey @jnurse13 apologies I'm behind on some of these issues but I can't address them until I complete the next major release (v5) which has a lot of changes, and lots of awesome new stuff coming that people have been waiting on. Until then there'll be a delay on me fixing the library integrations. You can expect about 2 weeks before I get here.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or unsubscribe.

mihar-22 commented 3 years ago

This should now be resolved in the latest release (5.0.18) 🥳