7,433 questions
1
vote
1
answer
52
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
80
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 ...
-4
votes
1
answer
39
views
Choose Node.js path when executing npm scripts
When running npm run dev I'd like to have npm use a specific version of Node. In other words, I'd like to configure this script to use a specific Node path.
To make things even more complicated the ...
3
votes
1
answer
80
views
Angular elements: ng build in Angular 18 with --optimization=true emits broken artifacts
when I try to build the module with the flag --optimization equal to false, then everything works just fine. The compilation finishes without any issues and I can use my web-component as well. Once I ...
1
vote
0
answers
16
views
New application created with ng generate application in Angular workspace result in schema error
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&...
1
vote
1
answer
36
views
'FormsModule' does not appear to be an NgModule class
I am trying to import the FormsModule but i get this error
'FormsModule' does not appear to be an NgModule class.
here is my code
import { BrowserModule } from '@angular/platform-browser';
import { ...
1
vote
1
answer
27
views
Poor Angular-CLI 'compile on save' performance
At the moment, after saving a .ts file, I'm seeing
"Generating browser application bundles..."
for 30+ seconds before the browser refreshes. This is painful. Here is what I can tell you so ...
-1
votes
1
answer
72
views
Why is the app.module.ts file missing in the latest Angular project setup? [closed]
I am currently learning Angular as a complete beginner and following a tutorial from a book. In the tutorial, the app.module.ts file is introduced at the very beginning. However, I cannot find this ...
0
votes
0
answers
313
views
Angular 19 with Vite and custom <base href>
I want to have an ASP.NET Server which serves an Angular SPA. The SPA should not be served at /, but on a subpath, say /spa. Basically that means I just have to put the angular build output results in ...
1
vote
0
answers
186
views
How to set a dynamic baseHref?
Problem
With my old setup, I can host localized angular apps with dynamic baseHref (determined at runtime). The Dockerfile runs an nginx server, which serves index.html, polyfills.js (and other non-...
0
votes
0
answers
98
views
Angular app.module.ts not compiling, NgModule not declared, and component import issues
I created a basic Angular project in VS Code, but the app.module.ts file was missing, so I manually created it and added @NgModule. I then generated a new component named user and imported this user ...
1
vote
1
answer
58
views
What version of typescript should we use when updating to angular v17.3, but leaving @angular/material on v16.2
We have a big web-app that uses a lot of angular/material components. When updating angular to v17.3 everything works fine. But because we use a lot of legacy components we want to leave @angular/...
0
votes
0
answers
175
views
Angular Nx Project: “JavaScript heap out of memory” when building/serving with Kendo UI
I'm working on an Angular Nx project that uses Kendo UI for Angular components. Recently, I’ve been facing persistent “JavaScript heap out of memory” errors whenever I run the development server or ...
0
votes
0
answers
38
views
ng version show error at Angular, @angular-devkit/build-angular, typescript, zone.js
ng version
_ _ ____ _ ___
/ \ _ __ __ _ _ _| | __ _ _ __ / ___| | |_ _|
/ △ \ | '_ \ / _` | | | | |/ _` | '__| | | | | | |
/ ...
1
vote
2
answers
683
views
error Error: Failed to install package "@esbuild/win32-x64"
node: 16.20.0
npm: 10.8.3
angular-cli: 19.0.0
OS: win32 x64
While trying to do npm install on udemy code repository it hits with following error.
npm error path C:\Users\<username>\Documents\<...