Category : ng-build

I have a "Help" folder in Assets that comes with two sub-folders, "Videos" and "PDF". In my Angular.json build options, I just write the help / pdf folder. (The build is faster than with the video folder) When I open the help page, I get a 404 not found error in the console. Is it ..

Read more

I get the below error in my EC2 build box but the same is not replicable in my local ERROR in node_modules/rxjs-compat/add/observable/dom/webSocket.d.ts(1,46): error TS2307: Cannot find module ‘rxjs/websocket’. in local I have tried ng build ng build –configuration=feature ng build –prod am not sure how this causing and how to replicate the same in local ..

Read more

I’ve a simple custom component called DatepickerComponent. This is the project structure. I’ve a simple JS file calendarLanguages.js and it is under the same roof. Here is the code. calendarLanguages.js export const spanish = { dayNames: [‘domingo’, ‘lunes’, ‘martes’, ‘miércoles’, ‘jueves’, ‘viernes’, ‘sábado’], monthNames: [‘enero’, ‘febrero’, ‘marzo’, ‘abril’, ‘mayo’, ‘junio’, …], monthNamesShort: [‘ene’, ‘feb’, ‘mar’, ..

Read more

I created Angular Project using Typescript, when I execute it from ng build The dist folder is generated and application works correctly but when I use with parameter –Prod ng build –prod I get this error : ERROR in undefined is not iterable (cannot read property Symbol(Symbol.iterator)) and no more details are shown, the snapshot ..

Read more