Skip to main content
Filter by
Sorted by
Tagged with
1 vote
0 answers
59 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
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
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
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
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
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
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 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
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
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
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
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
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
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
854 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
-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
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
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
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
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
536 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
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
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
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
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