Skip to main content
Filter by
Sorted by
Tagged with
1 vote
0 answers
62 views

Generating browser application bundles (phase: setup)...Compiling @angular/core : es2015 as esm2015 Compiling @angular/animations : es2015 as esm2015 Error: Error on worker #1: TypeError: compiler_1....
Tùng Lê Xuân's user avatar
0 votes
1 answer
902 views

I am developing a web application with Angular 16 in Webstorm. The web application is currently pre-release and only has a small portion of minimum functionality completed. I was editing with ng ...
CodeWarrior's user avatar
  • 7,478
0 votes
1 answer
5k views

I've tried a lot to fix this problem, but I can't find any solution. This is the error: npm ERR! While resolving: @angular-devkit/[email protected] npm ERR! Found: @angular/[email protected] npm ...
user avatar
4 votes
3 answers
2k views

Error occurs while generating browser application bundles (phase: setup). What can cause this error? Info from console: Generating browser application bundles (phase: setup)... TypeError: Cannot read ...
John Doe's user avatar
6 votes
2 answers
11k views

How do I enable debug logs in ng build ? I want to see what the basePath is. The snippet below is from program_based_entry_point_finder.js. node_modules\@angular\compiler-cli\ngcc\src\...
ShaggyInjun's user avatar
  • 2,991
19 votes
4 answers
26k views

I updated Angular project from Angular 10 to 11x. Everything works normally, except for one warning on running project using ng serve (without any option in ng serve). The warning is: Option "...
viking's user avatar
  • 425
2 votes
0 answers
339 views

We just recently ported an Angular Project from angular 1.5 to 11. A part of the code was conditionally compiled with gulp-preprocess and conditional statements in code and templates (different parts ...
Jenson's user avatar
  • 635
0 votes
3 answers
6k views

[enter image description here][1] [1]: https://i.sstatic.net/axbtO.png Getting "An unhandled exception occurred: Cannot find module '@angular/compiler-cli' when trying to run "ng serve" ...
Smriti Bhawana's user avatar
12 votes
1 answer
14k views

Running command npm run ngcc throws the error 'ngcc' is not recognized as an internal or external command. package.json { "scripts": { "ngcc": "ngcc" ... }, ...
user12023283's user avatar
4 votes
1 answer
3k views

I'm missing the percentage progress view while compiling an Angular 11. Usually I did: ng serve and saw a progress in percent while the code was compiled. Now that percentage view is gone and it's ...
Lars's user avatar
  • 1,102
3 votes
0 answers
1k views

I am working on a project, and as far as I can tell; when running "ng run build --prod" the file replacements are not working. This is important as I want to remove the NgRx devtools when ...
codeThinker123's user avatar
-2 votes
1 answer
545 views

I have a problem compiling my Angular 8 application: chunk {main} main.js, main.js.map (main) 11.7 kB [initial] [rendered] chunk {polyfills} polyfills.js, polyfills.js.map (polyfills) 141 kB [initial] ...
Nishit's user avatar
  • 69
0 votes
1 answer
3k views

I have been spending hours trying to figure out what is wrong with trying to run an angular based project. node version: v12.16.1 In my project directory I did npm install -g @angular/[email protected] ...
Py_Mel's user avatar
  • 87
1 vote
0 answers
193 views

I'm upgrading my Angular library to version 9, in my project I use Angular v9.1.0. And my library relies on another internal Angular library. When I try to build my library, II got the following ...
Chris Bao's user avatar
  • 2,928
-1 votes
1 answer
150 views

I have a compiled 'dist' folder and I want to know if it matches with the source code or is a different version. How can I do it?
Pedro Rout's user avatar
0 votes
2 answers
186 views

I'm trying to publish a dotnet core 2.2 app with angular. During the publishing I get following error: Version of @angular/compiler-cli needs to be 2.3.1 or greater. Current version is "7.2.15" I'...
RBull's user avatar
  • 41
3 votes
0 answers
673 views

Intro I am trying to create my own custom platform for use in Angular 7. The basic idea is to provide a platform for rendering into a terminal. Here's where I currently am: The Code platform-console/...
night_owl's user avatar
  • 936
0 votes
1 answer
338 views

I have a simple angular 6 application I am trying to get compiled with AOT. I am NOT using the Angular CLI. I have a custom generator that scaffolds my project start and scaffolds my components, ...
WannaBDeveloper's user avatar
0 votes
1 answer
3k views

I have 2 angular components. ButtonComponent that has an input of type ButtonText @Component({ selector: 'app-button', template: '<h1></h1>', }) export class ButtonComponent { @...
FrostF0X's user avatar
0 votes
1 answer
71 views

My angular application consist of 2 parts based on public and private pages: 1- Landing Page (Before Login) 2- Dashbaord and other Pages (For Authorized User) Landing page component contain signup/...
Irfan Muhammad's user avatar
1 vote
1 answer
1k views

I've got a FooComponent that has a .scss file attached to it, this works. However, when trying to import a variable file from an external lib residing in node_modules, it throws an error. In my ....
Chrillewoodz's user avatar
  • 28.5k
1 vote
2 answers
717 views

I am packaging my angular module using ngc and rollup following the Angular Package Format 4.0 specification. I'm able to lazy load it using the angular cli using a wrapper module. import { ...
Khoi Pham's user avatar
  • 189
8 votes
1 answer
6k views

An Angular component has decorators: @Component({ ... }) export class MyAngularComponent { @Input() myInputParam: MyType; @Input() myOtherInputParam: MyOtherType; @Output() myOutputParam: ...
Morgan Touverey Quilling's user avatar
5 votes
2 answers
3k views

I am trying to include external module (hosted in git/npm repository) as lazy-loaded module in my Angular application. I am compiling my external module with ngc compiler: node_modules/.bin/ngc -p ...
Maciej Treder's user avatar
96 votes
5 answers
18k views

I was asked that today and was not able to give a proper answer. Typescript transpiles to JS. Then there is tree shaking, "less" (optional) and what else in the process of making a deployment. But ...
codepleb's user avatar
  • 10.7k
3 votes
1 answer
3k views

what is the difference between this guide https://angular.io/guide/aot-compiler that use @angular/compiler-cli and using command ng build --prod (that use options --aot)??
Nuovo 001's user avatar
  • 305
2 votes
2 answers
3k views

I am new to angular 4. I am working on login page in which I have to post the user information on login.But I am getting error as "code":"rest_missing_callback_param","message":"Missing parameter(s): ...
srujana's user avatar
  • 453
1 vote
0 answers
940 views

I am new in angular 2 and i have downloaded Angular2 project from server and try to run in my local environment after installing npm but it is showing the below error: The "@angular/compiler-cli&...
Sumit Rawat's user avatar
1 vote
0 answers
857 views

I'm using Angular 4.4.1 + SystemJS 0.20.19 + NgBootstrap 1.0.0-beta.5 in an app. The app works in Angular JIT mode by following this instructions and having the following SystemJS configuration meta: ...
wonderful world's user avatar
0 votes
0 answers
599 views

I'm following https://angular.io/guide/aot-compiler tutorial, everything goes fine till rollup section. When i run: "node_modules/.bin/rollup" -c rollup-config.js I get those errors: The following ...
esquarial's user avatar
  • 287
-1 votes
3 answers
2k views

When trying npm start or ng serve it shows the error like this : The "@angular/compiler-cli" package was not properly installed. Error: Error: Cannot find module '@angular/compiler-cli' Error: ...
Jishnu Sree's user avatar
0 votes
1 answer
259 views

I am a complete newbee to web development, and now I am facing a problem that I do not know how to deal with. I am using the npm package named @uniprank/ngx-file-uploader (https://www.npmjs.com/...
GLR's user avatar
  • 1,130
0 votes
1 answer
875 views

I'm working on a small npm package for Angular, which is basically one directive that enables dragging/moving on the element you put it on. I did manage to publish it yesterday (even thought it took a ...
Dawid Zbiński's user avatar
0 votes
0 answers
53 views

I'm having a hard time to understand why @angular compiler changes my modules names: directive.ts import isNil from 'lodash-es/isNil'; ... @Directive({ selector: '[aColor]', }) export class ...
PRAISER's user avatar
  • 803
1 vote
0 answers
372 views

I have an application which I'm trying to compile using AoT. When I build the application I'm getting the following error: C:\test\node_modules\@angular\compiler-cli\src\diagnostics\...
Daniel Grima's user avatar
  • 2,855
5 votes
1 answer
2k views

I've just learning about AOT, ngc etc. After running ngc I see plenty of *.ngsummary.json (in src folder, next to *.ts files). What are they for?
dragonfly's user avatar
  • 17.8k
4 votes
2 answers
2k views

I'm trying to follow the ahead of time (AOT) compiler instructions here: https://angular.io/guide/aot-compiler The project I'm working on has been developed using the quickstart seed, as described ...
Rolandus's user avatar
  • 778
2 votes
1 answer
180 views

I'm currently working on exporting an Angular 4 component library in the format described by the Angular Package Format. To simplify this, I generated a default setup using this Yeoman generator. ...
Kaj Nelissen's user avatar
1 vote
0 answers
1k views

We have Angular 4 project compiled aot and bundled with rollup and without lazy loading. It takes about 3 seconds for scripting during startup. I need to reduce this time. I found examples of Angular ...
IAfanasov's user avatar
  • 5,023
0 votes
1 answer
1k views

I'm trying to integrate AOT in my angular project so I followed Angular.io to do that, the AOT folder and files are generated successfully with no errors after I run the following command : "...
Mtaraby's user avatar
  • 157
0 votes
1 answer
543 views

My code should load a component based on a customer name and a setting, both received as strings from the backend. I tried using the Compiler to compile the module and then get the component factory, ...
Inbar Shani's user avatar
0 votes
1 answer
146 views

I Made a library for Angular 2 but I am stuck in this issue. I am getting this error: ERROR in C:/xampp/htdocs/github/jw-bootstrap-switch-ng2/switch-project/src/$$_gendir/node_modules/jw-bootstrap-...
Julio Guerra's user avatar
2 votes
2 answers
2k views

I am constructing my angular2 services like so import { OpaqueToken, ClassProvider } from "@angular/core"; export interface IService { // ... interface declaration } export class ...
David Brem's user avatar
16 votes
2 answers
3k views

Sometimes I use Mixins to inject repeated functions like slugUrl(). But it doesn't work with angular 4 compiler. export function Mixin(decorators: Function[]) { return function (classFn: Function) ...
Serginho's user avatar
  • 7,530
5 votes
2 answers
2k views

When Angular 4.0.2 application is compiled ahead-of-time, and the provider is defined as useValue import { OpaqueToken, Provider } from '@angular/core'; export const windowToken = new OpaqueToken('...
Estus Flask's user avatar
1 vote
1 answer
686 views

I know I'm not the only one having questions regarding this term. But the angular guys have about 23 questions regarding this term. I tried a lot of different things. One is important: I tried it the ...
iRaS's user avatar
  • 2,206
4 votes
0 answers
641 views

I'm using angular-cli to build an app. The build runs fine with the --aot=false option. I get errors with --aot=true, and to investigate these I'd like to look at the files generated by the ...
ldirer's user avatar
  • 6,776
2 votes
0 answers
740 views

I have angular 2 application that works beautifully when JIT compiled. Now for Prod, I am using AOT compilation and rollup create a single bundle file. When I run the application, I get this error in ...
Shilpa Nagavara's user avatar
1 vote
1 answer
236 views

We are trying to perform ahead of time ( aot ) compilation for our angular 2 project and we are running into a error : Error: Internal state: StaticSymbols in summaries can't have members! {"...
bhavya_w's user avatar
  • 10.3k
1 vote
1 answer
531 views

I'm running into an error with Rollup after compiling my Angular 2 app with ngc. Has anyone else overcome this issue? Error: '$$observable' is not exported by node_modules/rxjs/symbol/observable.js ...
steveblue's user avatar
  • 490