Questions tagged [angular-devkit]
The angular-devkit tag has no usage guidance.
angular-devkit
79
questions
0
votes
0
answers
51
views
Why does this nx executor ignore its dependsOn setting?
tl;dr: I am trying to chain two nx targets using the dependsOn property, but it seems to be ignored.
In my project.json file, there are the following targets (among others):
build: executor = @...
1
vote
0
answers
37
views
Use Chrome Angular Dev Tools to target an Ifame Angular App
I have an Angular Application that I am developing, but the app only works when rendered in the iframe of another Angular website that I do not own. Since that top level site is in production mode the ...
2
votes
1
answer
54
views
Jest tests using @angular-devkit/schematics are throwing errors for the encoded data was not valid for encoding utf-8
On three different applications Angular are failing all test that use @angular-devkit/schematics. Two of the applications were passing fine on Angular 17.2.0 but failed after upgrading to 17.3.7. The ...
0
votes
2
answers
159
views
Preprocessing Angular templates before compiling
I'm trying to plug into the compile step and modify the AST to amend a data attribute to DOM elements (HTML templates).
This is to inject information into the DOM at compile time without modifying the ...
0
votes
0
answers
15
views
Preserve folders with .gitkeep files when running a custom Angular schematic
I want to keep all of the folders in the files directory of the Angular schematic, also preserving the .gitkeep files. Unfortunately, the directories with only the .gitkeep file in it are being ...
0
votes
0
answers
36
views
Angular11: fileReplacements stopped working after angular update
My team and I are updating the Angular version of our app. We were using version 10.2.3 and migrated to 11.2.19 in angular/cli
Before updating, our environments files were replaced by fileReplacements
...
0
votes
0
answers
24
views
How to suspend nx auto rebuild?
We use the @angular-devkit/build-angular:dev-server executor to build and run our TypeScript application. NX keeps a watch on the sources, so whenever anything changes, it will automatically launch a ...
1
vote
1
answer
1k
views
Angular 17.0.X update to 17.3.3 failing - issue with dependencies
We have an Angular app that we have upgraded to 17.0.X and now we want to get it running to the latest version as of the time of writing - 17.3.X. We have updated the dependencies but we are seeing ...
0
votes
1
answer
153
views
Trying to installing Angular version 15, when latest version installed is 17, throws warning for Unsupported engine
In my System Angular Version 17 was installed. I tried installing Angular 15. To achieve this I tried
npm uninstall -g @angular/cli. Angular is successfully uinstalled.
npm cache clean(this throws ...
0
votes
0
answers
47
views
Where to integrate code generation in dev-server command
We are using the dev-server command from @angular-devkit/build-angular to run our TypeScrpt/Angular application locally on a development server with live reloading. This works quite well - whenever a ...
0
votes
1
answer
43
views
Angular v10: how do i handle this overlay issue of p-calendar
Overlay going beyond viewport
how do i prevent overlay from exceeding the view port of the browser
overlay should be displayed entirely on screen from top to bottom
would appreciate your help and ...
0
votes
0
answers
116
views
Angular: Cannot import packages with @angular-devkit/build-angular:application
I'm using Angular 17 and have Leaflet and leaflet.gridlayer.googlemutnt package installed. The leaflet package works fine but when I'm importing leaflet.gridlayer.googlemutant I had this error:
[vite] ...
0
votes
0
answers
140
views
Cannot Get Angular 17.1 Feature "ng test --no-browsers" To Work
I was told that starting in version 17.1 we could run our unit tests without a browser using "ng test --no-browsers" but I think I am doing something wrong because this only results in ...
2
votes
1
answer
973
views
Merge build files into single one file in Angular 17
After the migration of Angular 17 to vite, I encountered a problem that it was not possible to merge all new files into one single file without changing the builder to the old one @angular-devkit/...
0
votes
0
answers
79
views
Angular app converted to angular universal will not proxy requests to existing API
I recently converted a regular Angular app to an Angular Universal app so that I can get better SEO when I deploy the app. I need this as I want google to pickup on all of my dynamically rendered ...