angular-compiler Questions

11

Solved

I am trying to get my app to deploy on Heroku. I was getting the "sh: 1: ng: not found" error but based on responses on here, I moved my @angular/cli, @angular-devkit/build-angular, @angu...
Meditation asked 7/4, 2021 at 15:35

5

I'm using npm v 8.11.0. I have these dependencies defined in my package.json file "@angular/compiler": "^13.2.6", "@angular/core": "^13.2.6", I would like t...
Puffball asked 15/7, 2022 at 13:53

29

Building the application after having upgraded dependencies to Angular 9 (and having performed the necessary code changes) throws an error: Compiling @angular/animations : es2015 as esm2015 Compil...
Subordinary asked 15/4, 2020 at 6:18

1

Running command npm run ngcc throws the error 'ngcc' is not recognized as an internal or external command. package.json { "scripts": { "ngcc": "ngcc" ... }, &quot...
Zebec asked 2/2, 2021 at 9:8

2

In the index.html file of the angular application after applying the Content Security Policy, the application is giving 'unsafe-eval' console error as below - core.js:4442 ERROR Error: Uncaught (in...

2

I have an angular 9 project which is part of an application suite installer [Wix installer]. One of the settings used by the angular app is the address of API which it fetches its data from some co...

1

Solved

I'm creating Angular code at runtime, in particular, I use a SVG library in order to create a vector graphic that contains Angular code directives like (click)='myMethod()', which, in turn, call me...
Betterment asked 10/4, 2020 at 9:58

1

Solved

This is my ng library module code @NgModule({ imports: [NgIdleModule.forRoot()], providers: [ { provide: APP_INITIALIZER, useFactory: (idleStateChangeHandlerService: IdleStateChangeHandlerSer...
Thermopile asked 14/11, 2019 at 9:0

1

I'm using angular compiler: const AngularCompilerPlugin = require('@ngtools/webpack').AngularCompilerPlugin; With these compiler options: "angularCompilerOptions": { "genDir": "./build/compiled",...
Dentate asked 19/6, 2018 at 4:5

2

Solved

I don't understand the difference between router-outlet and module's exports array compilation strategies. router-outlet will auto generate component by ComponentFactoryResolver if you are not us...
Franklinfranklinite asked 17/6, 2018 at 9:2

3

I am new in angular2. I have downloaded angular 2 project and tried to setup. I installed angular cli 1.0.0-rc.2 and when I am doing ng serve it is showing the below error: Cannot read property ...
Winstead asked 21/9, 2017 at 15:6
1

© 2022 - 2024 — McMap. All rights reserved.