Skip to main content

All Questions

Tagged with
0 votes
0 answers
45 views

angular/cli version mismatch

I'm not used to working with Angular or JavaScript in general, so please forgive me if this is a simple or common problem. I've been searching for a solution for most of the day, but I haven't found ...
Paul Brindley's user avatar
0 votes
1 answer
157 views

Angular "No native build was found" error in new project (Windows, Node.js 20.14.0)

I'm trying to run a new Angular project but encountering the error "No native build was found" when I execute ng serve. I've created a fresh project using npx @angular/cli new admin-angular ...
yaman's user avatar
  • 1
0 votes
0 answers
64 views

Angular build error: Can't find stylesheet to import

I'm encountering an error while building my Angular application, even though the code works fine locally. The build process fails with the following error message: 35.36 - Building... 35.36 84.96 ...
Jessy's user avatar
  • 33
1 vote
2 answers
307 views

Use multiple Node versions in windows simultaneously

There are multiple question regarding this on SO but none was able to solve my problem. There is a project called NVM for Windows https://github.com/coreybutler/nvm-windows which solves this issue by ...
Sanjay Kumar's user avatar
0 votes
0 answers
101 views

Localizing and consuming Angular 17 libraries

I am trying to define a simple procedure for localizing Angular 17 libraries and consuming them from their NPM package while still taking advantage of their localization. The libraries are developed ...
Naftis's user avatar
  • 4,499
0 votes
0 answers
57 views

Problem with npm start inside of .NET Core SPA but not in Angular itself

I use a .NET Core service to host my Angular application as an SPA. When I start my .NET service to host the SPA, everything seems fine, but the console flashes up and closes directly. I was able to ...
Simon Styger's user avatar
0 votes
0 answers
20 views

Use Angluar-Cli App as npm package with generate build

I have angular 17 app, when i run npm run build it generate the dist/browser folder having main.js, polyfills.js and index.html and some style.css files, i want to deploy the generated dist/browser ...
Abby d's user avatar
  • 11
1 vote
0 answers
167 views

npm UNABLE_TO_VERIFY_LEAF_SIGNATURE

Yesterday I cloned a Github repository to my Webstorm (I have a Student Pack license). Then, I clicked the button " Run 'npm install' ". After that, this error appeared: ...
JorgeGerardo's user avatar
-1 votes
1 answer
75 views

What is the use of "Hash: fec054139de85795" in ng serve?

Attaching the ng serve response here for reference: Lazy Chunk Files | Names | Raw Size src_app_features_main-...
Pranam Bhat's user avatar
0 votes
0 answers
128 views

This version of CLI is only compatible with Angular versions ^15.0.0, but Angular version 17.2.4 was found instead

I tried an update from angular 10 to 15, after doing the ng update and running ng version when i try ng serve i got the message This version of CLI is only compatible with Angular versions ^15.0.0, ...
Ahmed Derouiche's user avatar
0 votes
1 answer
337 views

Angular CLI and node-gyp : Cannot assign to read only property 'cflags' of object '#<Object>'

@angular/cli has a dependency on node-gyp as you can see here: npm ls node-gyp [email protected] /home/gabriel/Documents/IdeaProjects/orit.bp.app-leila └─┬ @angular/[email protected] └─┬ [email protected] ...
GabrielBB's user avatar
  • 2,589
0 votes
0 answers
193 views

FATAL ERROR: Reached heap limit Allocation failed - JavaScript heap out of memory in Angular ng s command

While running ng s command of angular getting this error. node version: v20.10.0 angular cli : v17.0.6 npm : 10.2.3 os : win32 x64 Tried all the options which are available on internet still getting ...
Hiten's user avatar
  • 867
4 votes
0 answers
3k views

ArrowFunctionExpr not found in @angular/compiler

I'm using Angular CLI: 17.0.7 & Node: 20.10.0 in our angular application. The application used to run when it was set up 2 years ago. I'm trying to run the same application now, by installing all ...
Rajashree Gr's user avatar
1 vote
2 answers
331 views

Angular project ng serve fails, emitted 'error' event on worker instance

Problem Solved - Update: Turns out it was an error in my css code: Before: .title & .smaller { color: $dark-blue; font-family: "Roboto"; font-size: 20px; font-weight: 600; ...
Liam Simons's user avatar
7 votes
5 answers
20k views

Why app.module.ts file is not getting created whenever I create a new angular app

Whenever I am creating a new angular app using ng new "your-app-name" command, it isn't creating app.module.ts file in the project structure and no any prompt is coming in angular cli asking ...
gautamayush12's user avatar

15 30 50 per page
1
2 3 4 5
46