7,456 questions
-1
votes
0
answers
26
views
Angular v20 CLI running slow sometimes, fast others - running & timing "ng version" or "ng help" on a loop?
I regularly use scripts I have created in my package.json to run my Angular CLI tool to start servers, etc. Recently I have noticed this process becoming very slow.
I have removed bundlers from the ...
0
votes
0
answers
22
views
Using ESLint through "ng lint" CLI command returns error "All files matching the following patterns are ignored: - '/src/**/*.ts' - '/src/**/*.html'
I'm trying to run ESLint through the ng lint CLI command, but it fails, returning the following error:
Error when running ESLint: All files matching the following patterns are ignored:
- '/src/\*\*/\*....
1
vote
0
answers
94
views
Long compile time in angular 20
After upgrading my angular project from 19.2.15 to 20.3.1
My project's compile time (ng build) when from 85.426 seconds to 453.679 seconds.
The resulted bundle size difference is minimal (different by ...
0
votes
0
answers
28
views
How to remove 'unsafe-eval' from CSP in legacy ASP.NET Core 3.1 MVC + Angular 12 project using MVC and JIT compilation?
I have a legacy project developed with ASP.NET Core 3.1 MVC and Angular 12 (originally it was Angular 5).
I need to set a Content Security Policy (CSP) for the website without using 'unsafe-val' to ...
1
vote
0
answers
22
views
Angular-Cli: @defer on template is not working with @ngtools/webpack
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 ...
1
vote
2
answers
53
views
Angular 17 R3Injector error not showing actual issues
I posted a similar question yesterday, but I am having an issue where I am upgrading an Angular project to 17 (same issue with 20.x) and it builds, but fails to run post ng serve and ng serve --...
0
votes
1
answer
82
views
Angular CLI generated component test files are still modular
I created a component using the Angular CLI (quite recent version)
ng --version
19.2.14
I did this using ng g c foo
The problem I have with this is that the FooComponent is standalone (it should be)...
0
votes
0
answers
73
views
How to tell the angular cli to let tailwind apply style to svgs in my public folder
I am building a angular frontend (v20) with tailwind 4.
To keep my svgs separated from my UI code, I want to put them into a separate folder.
I found out that for angular to serve the resources to the ...
0
votes
0
answers
58
views
How to integrate MapLibre GL JS CSP version with Angular
I am trying to integrate MapLibre GL JS into a typescript based Angular app, but I have a strict CSP policy and need to use the alternative CSP version that is supplied in the npm package. The ...
-1
votes
1
answer
43
views
How can I pull Angular application files from CDN?
After Angular builder has done its job, index.html already has JS and CSS files auto linked.
Like this:
<!doctype html>
<html lang="en" data-beasties-container>
<head>&...
1
vote
0
answers
69
views
Angular app fails to start and build in Linux server or Docker image being run on Linux Server
I am facing strange issue with ng serve and ng build commands since version 19.2.11. When I run these commands on Oracle Linux server or via Docker build I see EsBuild error
[root@SERVER test]# pnpm ...
0
votes
0
answers
47
views
How can I replace my old Angular landing page with a new Angular 19 + Tailwind template while keeping my existing Metronic 7 dashboard(Angular 15)?
I'm trying to replace the landing page of my existing Angular project with a new template I purchased. Here's the situation:
My original project was built using Angular 13, and it includes a ...
0
votes
1
answer
186
views
Error: Could not find the '@angular-devkit/build-angular:dev-server' builder's node package
While running angular project first time using ng serve this thorws the error.
Error: Could not find the '@angular-devkit/build-angular:dev-server' builder's node package.
{
"name": "school-mgt",
"...
1
vote
1
answer
65
views
How to make npm overrides work in stackblitz Angular CLI?
I want to replicate a bug in our Angular 14 project with NgxEditor on stackblitz. But I could not get pass the error Error: Can not convert <"Hello "> to a Fragment (looks like ...
1
vote
1
answer
1k
views
Having issues building angular app using bun run
Has anyone started an angular project with bun in windows.
I'm currently facing an issue when trying to run the app using bun, the build takes more than an hour to build.
The steps I took:
bun install ...