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

I could successfully migrate my Angular 20/Jasmine/Karma app to Angula r21/Vitest All my tests are running correctly, except the ones that use debounceTime from RxJS As a workaround for now, ny unit ...
Paulo Costa's user avatar
1 vote
0 answers
24 views

my angular project doesn't have cli, rather we have implemented the build using @ngtools/webpack. I am trying to use @defer in my template to lazyload one of the component. it's supposed to create a ...
learntech's user avatar
  • 143
1 vote
0 answers
46 views

When I try to create a new application in my workspace with the command ng generate application I get this error Schematic input does not validate against the Schema: {"name":"my-app&...
chled's user avatar
  • 11
0 votes
0 answers
314 views

I'm encountering a strange issue when switching my Angular build system from Webpack to ESBuild. When using: "builder": "@angular-devkit/build-angular:browser" Everything works ...
Jakub Piga's user avatar
0 votes
1 answer
154 views

I am following the Angular upgrade site and upgrading the MFE's from the same. Once I run the command ng update @angular/core@15 @angular/cli@15 , it did update the version from v14 to v15 but couldn'...
PRADEEP KUMAR's user avatar
1 vote
0 answers
97 views

My Angular 18 application is using the new Angular build system, utilising the "application" target for production builds, thus making my local "dev-server" target use vite. ...
uppy's user avatar
  • 349
2 votes
0 answers
183 views

Is there a way to make ng serve watch for Typescript project references with es-build? (Or any arbitrary folder outside of the project root, for my case, in the node_modules folder). Notes : In may ...
Cyril's user avatar
  • 21
1 vote
0 answers
37 views

For angular webpack based builders, how to config the define for tree sharking or compress in the built-in javaScriptOptimizerPlugin ? async function optimizeWithEsbuild(content, name, options) { ...
kaixuan xu's user avatar
1 vote
1 answer
283 views

I just created a new angular application (version - 17.3.9) using the ng new url-test-app command. I start the application using npm start, and navigating to http://localhost:4200 works fine. But if I ...
user1606761's user avatar
1 vote
1 answer
94 views

We ve used @angular-devkit/build-optimizer link and @ngtools/webpack in our webpack build of angular app, until we bump script target from es5 to > es2020 and from typescript v4 to typescript v5, ...
Kostia Mololkin's user avatar
1 vote
1 answer
822 views

I'm upgrading my app from Angular 16 => 17. Everything going fine, but when I do npm install and then ng serve I get an error: An unhandled exception occurred: Cannot find module '@angular/build/...
Tony Brasunas's user avatar
0 votes
1 answer
233 views

This is my Dockerfile: # Stage 1: Build the Angular app FROM node:18 AS builder WORKDIR /app # Copy package.json and package-lock.json to install dependencies COPY package.json package-lock.json ./ ...
SlimenTN's user avatar
  • 3,614
3 votes
1 answer
1k views

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 = @...
F-H's user avatar
  • 1,213
2 votes
0 answers
97 views

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 ...
Zane's user avatar
  • 21
2 votes
1 answer
195 views

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 ...
Catherine Clague's user avatar
0 votes
2 answers
485 views

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 ...
Kiet Ho's user avatar
0 votes
0 answers
60 views

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 ...
Ewerton Oliva's user avatar
1 vote
1 answer
2k views

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 ...
alext's user avatar
  • 842
0 votes
1 answer
383 views

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 ...
Ajish Kumar's user avatar
0 votes
0 answers
52 views

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 ...
F-H's user avatar
  • 1,213
0 votes
1 answer
121 views

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 ...
Abdul Musavveer Alji's user avatar
0 votes
0 answers
342 views

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 ...
bob r's user avatar
  • 11
3 votes
1 answer
2k views

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/...
w014ara's user avatar
  • 59
2 votes
0 answers
157 views

I have an Angular 16 app which I compile by ng build <project> --watch. The app is served by external web server (caddy) hence the --watch. So now when I edit any source file, the app is re-...
Stanislav Stoyanov's user avatar
1 vote
0 answers
598 views

I have upgraded Angular from version 15 to 16 And also have upgraded all the dependency packages in my app to latest versions After Npm i and on running ng serve it throws error as An unhandled ...
Priya Ganesan's user avatar
0 votes
1 answer
699 views

I'm encountering an issue with my TypeScript. I have an Angular 11 application, and when attempting to compile the code, I'm receiving a series of error messages referring to node_modules/@types/node/...
jekiingah's user avatar
1 vote
0 answers
2k views

We encountered an issue while building our Angular Apps, it consumes too much memory, about 8 gigs for average project. Before blaming AngularCLI, creating a ticket and asking for help, I just want to ...
Timofey Yatsenko's user avatar
0 votes
0 answers
1k views

To run the program, we have a batch file called buildAndRun.bat that cleans Maven, then it installs Node and NPM in case they aren't already there. After this it runs ng build --configuration ...
Gage Poling's user avatar
2 votes
1 answer
602 views

At Big Give we have a library of web components built using stencil and build-angular. Last week we were trying to upgrade from stencil v2 to stencil v3, but we started getting errors as shown below ...
bdsl's user avatar
  • 322
0 votes
1 answer
1k views

After upgrading the NX version of my Angular app from 15.6.3 to 15.9.2. Initially I got some failures which I solved by getting rid of angular.json and makings some changes to my libs' project.json to ...
Francesco Borzi's user avatar
0 votes
1 answer
165 views

We had a an old babel-polyfill in our project. Now, when we remove it, Angular DevTools shows an infinite Change Detetction Loop with Source "Window.addEventListener:message". Anyone has an ...
Basti291's user avatar
1 vote
0 answers
188 views

I'm using @angular-devkit/schematics to create a schematic for my NodeJS projects. The schematic is really simple. It just needs to add husky to the devDependencies of the project along with the ...
David Miguel Yusta's user avatar
1 vote
0 answers
828 views

I have an angular workspace with this structure: ├── projects │ ├── lib-1 │ ├── lib-2 │ ├── lib-wrapper │ . │ . │ └── src ├── app ├── assets . . where I develop ...
Edo2610's user avatar
  • 234
0 votes
1 answer
795 views

I'm trying to create an application with several spa applications. Project uses asp.net core 6, angular 14. I can run the project in development mode. But when I open the project in a browser (https://...
al.koval's user avatar
  • 2,592
1 vote
1 answer
814 views

I have created an new angular project and npm install is working fine but I am getting below error during build: C:\Users\212807091\Documents\GIT_Codebase\idm-gui\node_modules\@angular\cli\...
Rohit's user avatar
  • 480
1 vote
2 answers
848 views

I'm using yarn 3.3.0 as package manager. What weird is new yarn only support .yarnrc.yml instead of .yarnrc. But angular still try to find the old one. But it's no help removing .yarnrc ❯ ng update @...
SettingDust'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
1 vote
1 answer
502 views

I want to create a CLI based on schematics to improve projects creation for my job and I want to scaffold an Angular Application AND an Angular Library in one command. So I tried to use ...
Gillian Perard's user avatar
1 vote
1 answer
1k views

I am using lazy loading for modules. But when the user navigates to the lazy loaded module route, it takes a couple of seconds to load the module. So I use a custom preloading strategy with 20 second ...
Akshay's user avatar
  • 81
0 votes
1 answer
5k views

I have these dev dependencies in my Angular 13 project "devDependencies": { "@angular-devkit/build-angular": "~13.2.5", "@angular/cli": "~13.2.5&...
Dave's user avatar
  • 20.1k
0 votes
0 answers
794 views

I have recently gained an interest in developing microfrontends using module-federation, and I have started converting an existing Angular 13 app to microfrontend. The issue that I'm facing is that ...
Divya Vijayakumar's user avatar
6 votes
0 answers
4k views

In short, I am looking for a way to get more verbose output from ng test. I am not looking for more test output, but more verbose feedback on the configuration. I am trying to configure a project, and ...
bnieland's user avatar
  • 6,646
2 votes
2 answers
1k views

I have created a Angular project to call the microfrontend from other running angular project. I have import the module in my app by using webpack.config.js. It is working well locally but failed on ...
Ashif Sayyad's user avatar
1 vote
1 answer
691 views

I recently cloned a repo onto a new machine and now I have run into some issues in getting my development server up and running. When I run ng serve, there is no output in the terminal as seen below. ...
Andre's user avatar
  • 91
0 votes
1 answer
1k views

This version of CLI is only compatible with Angular versions ^13.0.0, but Angular version 12.2.13 was found instead. Please visit the link below to find instructions on how to update Angular. https://...
Mohammed Raiyan's user avatar
6 votes
2 answers
10k views

I am new to angular and was following the documentation to build a basic app. Node - v14.7.3 npm - 7.22.0 Angular CLI: 12.2.4 OS: win32 x64 @angular-devkit/architect 0.1202.4 @angular-...
oxalicacid's user avatar
2 votes
1 answer
8k views

Please understand that it may be difficult to understand because of my poor English. We made a new Angular project and confirmed that it is working properly when connecting with Safari. But the ...
yongha Shin's user avatar
6 votes
3 answers
8k views

The stack: Angular 12 with .NET, running in a Docker container. Bundles are being built by @angular-devkit/build-angular:browser. Last working setup: The application ran previously on Angular 7, all ...
Cosmic Luke's user avatar
1 vote
0 answers
453 views

node version 14.15.0 and angular version 12.0.5; earlier it worked fine but after reinstallation of angular and nodejs it shows this error on ng serve command. ERROR in ./src/assets/styles/style.scss (...
jaya's user avatar
  • 11
62 votes
2 answers
28k views

After upgrading to Angular 12 my Content Security Policy blocks styles from loading correctly. The Angular 12 devkit seems to add a new inline event handler to the CSS bundle reference in index.html, ...
Alex Moss's user avatar
  • 621