tag:help.appveyor.com,2012-11-13:/discussions/problems/26334-angular-build-not-working-for-a-commit-that-5-days-ago-workedAppVeyor: Discussion 2021-08-19T15:14:33Ztag:help.appveyor.com,2012-11-13:Comment/481000122020-02-19T08:41:04Z2021-08-19T15:14:32ZAngular build not working for a commit that 5 days ago worked<div><p>Yes, I am trying to deploy an angular version of my app cview.workshoppro.client the specific commit "develop 949921b6" this commit was build and deployed properly 5 days ago, but suddenly it is not working anymore and I can not build it.<br>
Correct : <a href="https://ci.appveyor.com/project/ben_cvt/cview-workshoppro-client/builds/30808769">https://ci.appveyor.com/project/ben_cvt/cview-workshoppro-client/bu...</a><br>
Incorrect: <a href="https://ci.appveyor.com/project/ben_cvt/cview-workshoppro-client/builds/30901752">https://ci.appveyor.com/project/ben_cvt/cview-workshoppro-client/bu...</a></p>
<p>Please I need urgent help as we are in the middle of a production deployment and this is blocking me to do it.</p></div>nicolastag:help.appveyor.com,2012-11-13:Comment/481000122020-02-19T15:32:22Z2020-02-19T15:32:22ZAngular build not working for a commit that 5 days ago worked<div><p>Hi Nicolas,</p>
<p>I see that project is building on <code>Visual Studio 2015</code> image, but the last time this image updated was Jan 18 - month ago: <a href="https://www.appveyor.com/updates/2020/01/18/">https://www.appveyor.com/updates/2020/01/18/</a></p>
<p>There might be some changes upstream (NPM packages) or some code changes which broke the build.</p>
<p>Have you tried re-building the last successful commit?</p></div>Feodor Fitsnertag:help.appveyor.com,2012-11-13:Comment/481000122020-02-19T15:37:00Z2021-08-19T15:14:32ZAngular build not working for a commit that 5 days ago worked<div><p>Hi Feodor,</p>
<p>The two links I have send you are same commit with (in theory) identical package,json, appveyor.yml and angular.json.<br>
My main concern is why the first one was success (with exactly same code and configuration files) and the second one was not.</p>
<p>Regards</p>
<p>Nicolás José Martín Fernández | Sr Lead Developer and Architect | C View Technologies Limited</p>
<p>Mobile: +34 610 70 1915 | Skype: nicoj38911 | Website: <a href="http://www.cviewtechnologies.com">www.cviewtechnologies.com</a><a href="http://www.cviewtechnologies.com">http://www.cviewtechnologies.com</a></p>
<p>[signature_910047423]</p>
<p>This e-mail is confidential and is intended solely for use by the individual to whom it is addressed. Access to this e-mail by anyone else is unauthorised. If you are not the intended recipient, please notify CView Technologies immediately by returning this e-mail to the sender and be advised that you have received this mail in error and that any use, dissemination, forwarding, printing or copying of it is strictly prohibited.</p>
<p>Any views or opinions expressed in this e-mail are solely those of the author and do not necessarily represent those of the company. Although CView Technologies operates an active anti-virus policy, the company accepts no liability for any damage caused by any virus transmitted by this e-mail, including any attachments.</p>
<hr>
<p>De: Feodor Fitsner <a href="mailto:tender2+d3f66f3ea3@tenderapp.com">tender2+d3f66f3ea3@tenderapp.com</a><br>
Enviado: miércoles, 19 de febrero de 2020 16:32<br>
Para: Nicolas Fernandez <a href="mailto:nicolas@cviewtechnologies.com">nicolas@cviewtechnologies.com</a><br>
Asunto: Re: Angular build not working for a commit that 5 days ago worked [Problems #26334]</p></div>nicolastag:help.appveyor.com,2012-11-13:Comment/481000122020-02-19T15:50:20Z2020-02-19T15:50:20ZAngular build not working for a commit that 5 days ago worked<div><p>Right, you've already tried to re-build the same commit.</p>
<p>OK, then I'm pretty sure there is some module that changed recently and now breaking the build. There were no AppVeyor environment changes since Jan 18.</p>
<p>For example, look at the error <code>ERROR in ./node_modules/ngx-daterangepicker-material/fesm5/ngx-daterangepicker-material.js</code>. If you check the page of <a href="https://www.npmjs.com/package/ngx-daterangepicker-material">ngx-daterangepicker-material</a> module you'll notice it was last changed 4 days ago. Try pinning that module to the previous version.</p>
<p>I think you can easily reproduce the issue locally if you do a clean clone to an empty directory, restore all modules from scratch and do the rest of build steps.</p></div>Feodor Fitsnertag:help.appveyor.com,2012-11-13:Comment/481000122020-02-19T15:55:51Z2021-08-19T15:14:32ZAngular build not working for a commit that 5 days ago worked<div><p>Hi Again,</p>
<p>I had pointed in the configuration file (package.json) of that commit</p>
<p>"ngx-daterangepicker-material": "^2.1.8"</p>
<p>which actually is an older version than the one that was updated 4 days ago.</p>
<p>So, I think it is quite unlikely that this will be the reason, dont you see anything else in your side?</p>
<p>Regards</p>
<p>Nicolás José Martín Fernández | Sr Lead Developer and Architect | C View Technologies Limited</p>
<p>Mobile: +34 610 70 1915 | Skype: nicoj38911 | Website: <a href="http://www.cviewtechnologies.com">www.cviewtechnologies.com</a><a href="http://www.cviewtechnologies.com">http://www.cviewtechnologies.com</a></p>
<p>[signature_910047423]</p>
<p>This e-mail is confidential and is intended solely for use by the individual to whom it is addressed. Access to this e-mail by anyone else is unauthorised. If you are not the intended recipient, please notify CView Technologies immediately by returning this e-mail to the sender and be advised that you have received this mail in error and that any use, dissemination, forwarding, printing or copying of it is strictly prohibited.</p>
<p>Any views or opinions expressed in this e-mail are solely those of the author and do not necessarily represent those of the company. Although CView Technologies operates an active anti-virus policy, the company accepts no liability for any damage caused by any virus transmitted by this e-mail, including any attachments.</p>
<hr>
<p>De: Feodor Fitsner <a href="mailto:tender2+d3f66f3ea3@tenderapp.com">tender2+d3f66f3ea3@tenderapp.com</a><br>
Enviado: miércoles, 19 de febrero de 2020 16:50<br>
Para: Nicolas Fernandez <a href="mailto:nicolas@cviewtechnologies.com">nicolas@cviewtechnologies.com</a><br>
Asunto: Re: Angular build not working for a commit that 5 days ago worked [Problems #26334]</p></div>nicolastag:help.appveyor.com,2012-11-13:Comment/481000122020-02-19T17:48:28Z2020-02-19T17:48:28ZAngular build not working for a commit that 5 days ago worked<div><p>Nothing has been recently chanhed on AppVeyor side - the same image, the same Node.js version.</p>
<p>Try doing clean clone/build on your local machine.</p></div>Feodor Fitsnertag:help.appveyor.com,2012-11-13:Comment/481000122020-02-19T17:51:41Z2021-08-19T15:14:32ZAngular build not working for a commit that 5 days ago worked<div><p>I did, actually that is how I did the deployment as it was impossible from appveyor.<br>
It worked, so it makes even more weird this situation.<br>
So, we will need to investigate deeper but all the indicators point to the platform.</p>
<p>Nicolás José Martín Fernández | Sr Lead Developer and Architect | C View Technologies Limited</p>
<p>Mobile: +34 610 70 1915 | Skype: nicoj38911 | Website: <a href="http://www.cviewtechnologies.com">www.cviewtechnologies.com</a> (<a href="https://link.getmailspring.com/link/06989C75-6DB8-40A0-AAB8-5D7AAAD50850@getmailspring.com/0?redirect=http%3A%2F%2Fwww.cviewtechnologies.com&recipient=dGVuZGVyMitkM2Y2NmYzZWEzQHRlbmRlcmFwcC5jb20%3D">https://link.getmailspring.com/link/06989C75-6DB8-40A0-AAB8-5D7AAAD...</a>)</p>
<p>This e-mail is confidential and is intended solely for use by the individual to whom it is addressed. Access to this e-mail by anyone else is unauthorised. If you are not the intended recipient, please notify CView Technologies immediately by returning this e-mail to the sender and be advised that you have received this mail in error and that any use, dissemination, forwarding, printing or copying of it is strictly prohibited.</p>
<p>Any views or opinions expressed in this e-mail are solely those of the author and do not necessarily represent those of the company. Although CView Technologies operates an active anti-virus policy, the company accepts no liability for any damage caused by any virus transmitted by this e-mail, including any attachments.</p>
<p>On feb. 19 2020, at 6:48 pm, Feodor Fitsner <a href="mailto:tender2+d3f66f3ea3@tenderapp.com">tender2+d3f66f3ea3@tenderapp.com</a> wrote:</p></div>nicolastag:help.appveyor.com,2012-11-13:Comment/481000122020-02-19T18:03:03Z2020-02-19T18:03:03ZAngular build not working for a commit that 5 days ago worked<div><p>This might be helpful:</p>
<p><a href="https://github.com/angular/angular-cli/issues/15703">https://github.com/angular/angular-cli/issues/15703</a><br>
<a href="https://github.com/ckeditor/ckeditor4-angular/issues/78">https://github.com/ckeditor/ckeditor4-angular/issues/78</a><br>
<a href="https://stackoverflow.com/questions/58694820/cannot-read-property-kind-of-undefined">https://stackoverflow.com/questions/58694820/cannot-read-property-k...</a><br>
<a href="https://gitmemory.com/issue/KillerCodeMonkey/ngx-quill/573/542603349">https://gitmemory.com/issue/KillerCodeMonkey/ngx-quill/573/542603349</a></p></div>Feodor Fitsner