Questions tagged [angular-compiler]

98 questions
0
votes
1 answer

Recursive routing causes maximum stack exceeded error

I've got a PageModule which reference itself in it's routing. It works if I remove the circular dependency, start the app and then add it again. But not if I stop the server and start it again with the circular dependency already there. How can I…
Chrillewoodz
  • 27,055
  • 21
  • 92
  • 175
0
votes
1 answer

Angular-compiler outputs script that contain undefined this

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 while as it was the first time I published…
0
votes
1 answer

Angular compiler - Symbol without members expected

This seems to be quite a common issues at the moment. Please see here and here. This enum is throwing the exception for me: export enum UserRole { CareGiver = 0, CareReceiver = 1 } The error is: ERROR in Illegal state: symbol without members…
williamsandonz
  • 15,864
  • 23
  • 100
  • 186
0
votes
0 answers

Angular2 compiler turns module 'x' into 'x/index'

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 AColorDirective { } tsconfig.aot.json { …
PRAISER
  • 793
  • 7
  • 15
-1
votes
1 answer

Compile Module dynamically with providers in Angular 14

I need to create a module with a composite of submodules that represents minimum required imports for my package to work. This composite of modules depends on external config, and i want to compile submodules dynamically without taking care about…
-1
votes
1 answer

angular pass data to component created & compiled on the fly

A basic input component is created on the fly const compTag = 'my-input'; const template = `<${compTag}>`; my-input is an input which implements the ControlValueAccessor and can be assigned with a formControlName directive. therefore,…
shuk
  • 1,745
  • 1
  • 14
  • 25
-1
votes
1 answer

How know if the Angular compiled /dist match with the source code in /src?

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?
-1
votes
1 answer

Does typescript transpile the Transformed code generated by Angular Compiler

I was watching The Angular Compiler 4.0 - TOBIAS BOSCH and suddenly at 1:30 of the video it was said that AST is transformed into typescript code if we use AOT compilation or javascript code if we use JIT compilation.Compilation process a snapshot…
Vikas
  • 11,859
  • 7
  • 45
  • 69
1 2 3 4 5 6
7