Questions tagged [ng-build]
223 questions
0
votes
0 answers
angular app can't find a dependency in angular.json scripts
I have an external loader animation dependency installed in node modules. When i run it on local everything works fine but after deploying the app i get that the script for this module is not found ("GET /lottie-player.js.map" Error (404): "Not…

Pablo G
- 199
- 12
0
votes
0 answers
ng build not working after I installed the material color picker
This error message came after I installed the material color picker and tried to start the ng build:
WARNING in Entry point '@angular/cdk/collections' contains deep imports into
…

vargaadam
- 411
- 5
- 18
0
votes
2 answers
ERROR in ./node_modules/ng2-smart-table/ng2-smart-table.ngfactory.js
I am getting the below error. when i do "ng build --prod --aot"
ERROR in ./node_modules/ng2-smart-table/ng2-smart-table.ngfactory.js
Module not found: Error: Can't resolve '../@akveo/ng2-completer/ng2-completer.ngfactory' in…

Shruthi GM
- 1
- 1
0
votes
1 answer
Error: EPERM: operation not permitted in Bitbucket pipeline
While building ng build I am getting this error in Bitbucket. I am using Firebase as my backend. What am I doing wrong?
EPERM: operation not permitted, lchown '/opt/atlassian/pipelines/agent/build/node_modules/.cache/angular-build-dl/tmp' Error:…

Vikash Kumar
- 3
- 2
0
votes
0 answers
How do i get around a Disallowed Mime Type in Angular
I am trying to deploy an app to App Engine for a mobile version on the Default app. I did the "ng build" on the Default service and everything went well. then came time to do the same for the mobile version went and deployed the app and i keep…

Nova Nova
- 35
- 5
0
votes
2 answers
Angular 8 ng build --prod issue ERROR in TypeError: Cannot read property 'flags' of undefined
Question 1) I am trying to make build in my recently upgraded angular application form 4.4 to 8
but facing this error , i tried everything on the net which suggest to delete node modules and reinstalling stuff but none helps.
Additional Help…

Sushrut Singh Sisodiya
- 942
- 6
- 11
0
votes
1 answer
Angular CLI 9 - Unable to copy assets: EFAULT: bad address in system call argument, copyfile
I am working on one of my application in AngularJS (CLI 9) framework.
Its successfully run by ng serve command and open in http://localhost:4200
but when i build it by ng build i got below error
Unable to copy assets: EFAULT: bad address in system…

Akash Chavda
- 1,185
- 1
- 11
- 29
0
votes
1 answer
angular v8 - how to get production build template errors also during development mode
I have the latest angular v8 installed and I want to receive basic template errors i get during production also while runing ng serve.
For example
Template
ERROR: {{ errorMessage }}
Controller log(a){} Build error ERROR in…
Han Che
- 8,239
- 19
- 70
- 116
0
votes
0 answers
Angular 9 NG Build with Localize
I have default locale and /nl locale.
I am having an issue with ng build --prod --localize. it says:
Locale data for 'en-US' cannot be found. No locale data will be
included for this locale.
But it continues to build, However in dist/myProject…

Juliano
- 141
- 1
- 11
0
votes
1 answer
Angular 8 Angular-cli generates build instead of dist directory with ng build
I have checked out a dozen questions on Stackoverflow, but it is still not working.
I have the latest @angular/cli installed globally and also in my project. When I run ng version, this is the output:
Angular CLI: 8.3.23
Node: 10.15.3
OS: win32…

Andy Man
- 1
- 3
0
votes
1 answer
The button doesn´t show in prod - Angular Material
the problem is:
When i do ng serve --o the all proyect works..
when i do ng build --prod i have:
ERROR in src\app\tabs-incendio\tabs-incendio.component.html(183,64): : Expected 1 arguments, but got 0.
So i change this:
Coordenadas
0
votes
1 answer
Is there any way to restore the angular (4,5,6,any version) source code from dist folder after doing ng build --prod?
Is there any way to restore the angular (4,5,6,any version) source code from dist folder after doing ng build --prod ?
0
votes
2 answers
Angular, error declaration of 2 modules,, how solve it?
When I run ng serve the application starts.
However, when i run ng build --prod, it give me an error on footerComponent that says i have declared it in 2 modules. How is it possible?
This is the full error:
ERROR in Type FooterComponent in…

matteo sperti
- 31
- 1
- 7
0
votes
1 answer
How do I find which packages are dependent on Angular versions higher than 6.x?
I'm on a project that is is utilizing Angular 5.x and I'm tasked to upgrade it to 6.x. After nearly 2 weeks now trying to figure out how all this works with NPM and unsuccessfully getting the upgrade to build due to what I believe are package…

edjm
- 4,830
- 7
- 36
- 65
0
votes
1 answer
Cannot find module '@angular/router/src/utils/collection'
I am a newbie to Angular (2 months experience). I inherited an Angular project using version 6 and Creative Tim template. I updated the @angular/cli from version 6 to 8.3.6. The CLI was updated successfully according to the "ng update" command. …

AlexL
- 73
- 10