Skip to main content
Stack Overflow
  1. About
  2. For Teams
Filter by
Sorted by
Tagged with
2 votes
1 answer
83 views

I got an image in my angular app. I'll try to embed it as an image: <img src="assets/images/flag.png" alt="Flag of Germany" /> At the browser it is not shown and I get the ...
0 votes
0 answers
120 views

I pulled an Angular 11 project and after installing the node modules, getting error during npx ng build: Error: node_modules/angular-datatables/src/angular-datatables.directive.d.ts:31:25 - error ...
0 votes
1 answer
169 views

The "--outputHashing=all" option changes the name of my files to bust the cache. This is not a great option for me. Can I get this feature to append a query string parameter (like "?v=...
Eric's user avatar
  • 2,420
0 votes
1 answer
349 views

When I run ng build I get this error This version of CLI is only compatible with Angular versions ^13.0.0 || ^13.3.0-rc.0, but Angular version 18.2.10 was found instead. These are my current versions ...
A.Mac's user avatar
  • 263
3 votes
1 answer
882 views

I’m working on an Angular project that uses an Angular library. I recently upgraded both from version 17 to 18. In version 17, I was using ng build --watch along with npm link to enable hot reload for ...
1 vote
1 answer
278 views

This is the warnings I am getting for npm i command. Node modules directory is creating. When I do ng build it's throwing errors showing all the modules as shown in second image. What will be the ...
Priya's user avatar
  • 65
0 votes
0 answers
171 views

We successfully upgraded our Angular application from version 11 to version 17, tested the functionality, and took a dev build. However, we are currently using the command ng build --configuration ...
0 votes
5 answers
2k views

I'm new to Angular, and I am neither an expert on NodeJS nor Webpack. I built an app with Angular but when I try to deploy it, ng build doesn't seem to be working. The terminal says Building ... and ...
0 votes
1 answer
624 views

After upgrading angular, fileReplacements is not working anymore with assets, here is my code : "fileReplacements": [ { "replace": "src/assets/scss/x.scss&...
6 votes
3 answers
11k views

ng serve is working fine, but ng build is giving this error. X [ERROR] Could not resolve "path" (disabled):node_modules/jsdom/lib/api.js:3:21: 3 │ const path = require("path"); ...
1 vote
2 answers
2k views

I'm trying to deploy an angular aplication, when I run ng build --prod or ng build, I see the error "Browserslist: caniuse-lite is outdated. Please run the following command: npx browserslist --...
0 votes
1 answer
628 views

Issue Image The above error is what i have issued when i was trying to build the angular project for external hosting, using the ng build command, anyone faced this issue ? Tying to run the ng build ...
0 votes
1 answer
523 views

My changes above in screenshot. Just changed the text to Download PDF before it was something else. Replaced the folder here with the complied code Used this command to compile: ng build --base-href=/...
0 votes
0 answers
72 views

I'm trying to host an Angular project on GitHub. I have a project called website.github.io, I made a gh-pages branch, then a dist file where only a part of my page is uploaded, and when I generate the ...
0 votes
0 answers
695 views

My angular application failed during the time of build. Below is the error that I am getting. ERROR in node_modules/@smithy/types/dist-types/ts3.4/extensions/checksum.d.ts:23:6 - error TS1337: An ...

15 30 50 per page
1
2 3 4 5
...
16

AltStyle によって変換されたページ (->オリジナル) /