All Questions
9,641 questions
0
votes
0
answers
20
views
Passport JWT Unauthorized in node js and angular
I am using passport jwt with node and Angular. it is throwing unauthorized error.
I have tried with many solution on other stackoverflow questions but nothing works.
I am using sequalize with MySQL ...
0
votes
0
answers
27
views
Multiple cameras websocket view - stream with raspivid, nodejs, and angular
SO, I have this code on multiple raspi cameras:
const express = require('express');
const WebSocket = require('ws');
const raspividStream = require('raspivid-stream');
const fs = require('fs');
const ...
0
votes
0
answers
34
views
npm run build is failing due to @types.lodash-es incompatability
These are the errors I'm facing in Angular 7:
22:12:30 node_modules/@types/lodash/common/collection.d.ts(753,33): error TS2304: Cannot find name 'PropertyName'.
22:12:30 node_modules/@types/lodash/...
0
votes
1
answer
36
views
Download 1 to many excel files from Angular Api into zip folder
I've currently got a program that works in downloading a singular file from backend, constructing it into a blob and converting it to an excel. As seen below.
let filename = 'download' + this....
0
votes
1
answer
38
views
NX: Angular Environment Variables - process is not defined
I have a NX project with an angular app. I'd like to configure a environment variable so that some value changes depending on the deployment environment. I'm following the NX Recipe documentation for ...
1
vote
1
answer
38
views
Chrome returns null in angular for rest response sized 500MB+
I have angular app use case were when an api endpoint returns more than 500MB data the Observable returns null while api responded successfully with data. Same issue don't happen when data size is ...
0
votes
0
answers
17
views
Agora PSTN Dialing functionality using Turbobridge
I am creating PSTN dialing fucntionality using Turbobridge so user can connect on going agora Audio/Video call chanel via mobile phone by dialing a toll free number which is provided by Turbobridge.
I ...
0
votes
1
answer
62
views
Cookies not sent in server request of Angular SSR (v18)
I'm here because I'm frustrated and stuck. I have tried different possible solutions but I can't find my mistake...
I'm using native server side rendering of angular (not Angular Material).
The ...
0
votes
0
answers
53
views
Cookies in not set in the Header when make an api call
i know this question is asked many time but still the answer of this question is not
working for me this is my language service file when i am post request for login than it is work for me that ...
1
vote
1
answer
46
views
ng2-currency-mask not allowing '-' on empty textfield
Angular 15.1.3
Node 18.11.9
ng2-currency-mask ^13.0.3
ng2-currency-mask allows you to format numbers with current, rate with any prefix or suffix you want to add and also custom scaling and format.
...
0
votes
0
answers
41
views
Angular SSR creates mismatch between classes and their instances in prerendering
This doesn't happen in development ng serve only in production when I run the node script produced by ng-build in the server folder.
When I try to check type of an object, i.e. myObj instanceof ...
0
votes
0
answers
38
views
Node ssr module ReferenceError:
I am new to Node so I'm not sure what is happening with my SSR code.
One of the imported modules uses MutationObserver which I though I could handle by defining a shim for this class inside another ...
0
votes
0
answers
38
views
ng version show error at Angular, @angular-devkit/build-angular, typescript, zone.js
ng version
_ _ ____ _ ___
/ \ _ __ __ _ _ _| | __ _ _ __ / ___| | |_ _|
/ △ \ | '_ \ / _` | | | | |/ _` | '__| | | | | | |
/ ...
1
vote
0
answers
192
views
Angular NPM Install error even though install matches peer range
I currently manage all my application dependencies in a company managed npm package. We have multiple applications so when I need to update packages, this helps me one and done it for the most part. I ...
1
vote
1
answer
96
views
Angular Material icons not showing
I am trying to implement an offline web application based on Angular Material (v.18.2.x) but I cannot see the icons. Here is my implementation:
package.json
[...]
"dependencies": {
&...
0
votes
1
answer
305
views
How to Deploy an Angular 19 SSR App on AWS Amplify?
I have built an Angular SSR app using Angular 19, and I'm trying to deploy it on AWS Amplify. Below is my setup and the challenges I'm facing:
Package.json
{
"name": "ssr-app",
...
0
votes
0
answers
23
views
Component State Reload Issue in Angular FUSE After Navigation
We are experiencing an issue in an Angular project where a component's state does not reflect updates made in the backend after navigating between modules. The expected behavior is that, upon ...
4
votes
1
answer
133
views
Why is my Node.js endpoint being called twice despite the frontend making only one request?
I’m working on a Node.js backend using Express, and I have an endpoint that processes a payment:
app.post('/capturePayment', async (req, res) => {
console.log(`Capture payment function called!!`);
...
0
votes
0
answers
29
views
Error with primordials not defined when running Node.js with Gulp and Angular CLI
I’m running Node.js version v22.12.0 and Gulp version CLI version: 3.0.0 and Local version: 5.0.0. When I try to run my project with Angular CLI, I encounter the following error:
fs.js:44
} = ...
0
votes
1
answer
27
views
How do I handle a mongodb id between angular and mongoose?
Because of Typescript's strong typing, I am passing Mongodb's _id as a string in angular. Example:
public setSelectedProduct = async (productId: string) => {...}
When I pass productId to the ...
0
votes
0
answers
27
views
NodeJS Websockets with Traefiks
i do have a Angular App which uses Websockets (in dev environment, everything works, also for the WS stuff) together with Node JS. Now i do want to put all of this behind a traefiks, but i do get a ...
2
votes
1
answer
121
views
How to inject nonce from express.js node to angular 19?
According to docs:
Set the ngCspNonce attribute on the root application element as . Use this approach if you have access to server-side templating that can add the nonce both to the header and the ...
0
votes
0
answers
35
views
Cypress not able to call http xhr on different localhost port
I'm running and angular app (angular 18) in dev mode (npm run start), the app runs on http://localhost:4200/.
I have a simple Cypress test to visit the home page and check the title of the app.
When ...
1
vote
1
answer
48
views
How to generate dynamic metadata from an Angular component using node js?
I want to create a library with components example pages generated automatically by a node js code.
Using some Copilot help, I got this function to read the component's metadata, but it is returning ...
0
votes
1
answer
53
views
NavLink in React JS not working as expected?
So, I am working with ReactJS. In the Sidebar I used react-router NavLink component, but when I am working with nested routes it is not working as expected.
<li>
<NavLink
...
8
votes
2
answers
545
views
Error: "[plugin angular-browser-node-built-in] The package 'crypto' wasn't found on the file system" after updating to Angular 19
I recently updated my Angular project to version 19, and now I’m encountering the following error when building or serving the application:
[ERROR] The package "crypto" wasn't found on the ...
1
vote
0
answers
42
views
Receive chunked response from server in frontend
I have a node.js/Express Backend API which returns its response with response.write(chunks) within a loop.
res.setHeader('Content-Type', 'text/plain; charset=utf-8');
res.setHeader('Transfer-Encoding',...
0
votes
0
answers
30
views
All declarations of 'root' must have identical modifiers
Im on angular version 13.4.0
Node version 22.11.0
Typescript version 4.6.4
On executing command
"ng build --aot --configuration production --source-map=false --output-hashing=none --base-href=/ux/...
3
votes
0
answers
37
views
Error TS18003 and missing '@angular-devkit/build-angular' in Angular project using mixed versions (Angular 7 and 19)
Background: I am working on an Angular project that combines Angular 7 and some newer Angular 19 packages. The goal is to successfully run the project using ng serve.
The Issue: I am encountering the ...
1
vote
1
answer
62
views
Internal Error while using angular compiler to parse html
I am creating a angular shcematics project to propose suggestions to my angular project. I am trying to use the built in angular compiler to parse the code because libraries such as parse5 and ...
0
votes
1
answer
1k
views
Angular 19 CLI Builder Problem in different node versions
I can normally build my app in Angular 17 with either node 18.10.1 or 20.9.0.
When I update to Angular 19 then my build stops working.
Here is my package.json.
{
"name": "app",
...
1
vote
0
answers
47
views
Error method PUT HTTPS IIS 10 Angular 16 Windows Server 2019
I have a Web Site (Angular 16). That's deploy in IIS 10 (HTTPS port 443 with a Certificate)
I have ARR enabled, and on my web site tengo a rewrite ruler.
My back-end is in Node.js. It's running in the ...
1
vote
1
answer
33
views
Postman POST call works Angular doesn't [duplicate]
I have the following problem:
I am trying to make a mew record in a mongoDB database using a call from an Angular frontend. For some reason when i initiate the POST request i dont get any kind of ...
0
votes
0
answers
113
views
An unhandled exception occurred: You must provide the URL of lib/mappings.wasm by calling SourceMap
Getting below error with below configuration
Output
Generating ES5 bundles for differential loading...
An unhandled exception occurred: You must provide the URL of lib/mappings.wasm by calling ...
0
votes
0
answers
60
views
Run angular server with ssl results in node:events:496 throw er;
I am trying to host local angular server with self-signed certificate.
Certificate and key are generated using openSSL. Running openSSL server with them works as expected, Running empty node.js server ...
0
votes
0
answers
14
views
Angular package.json - updated npm packages to a newer version including dependencies
I have an ionic Angular project with this dependencies in package.json:
"dependencies": {
"@angular/animations": "^16.0.0",
"@angular/common": "^16.0.0&...
0
votes
0
answers
105
views
Angular 17 SSR issue wen serving with nodejs on my local
I am trying to implement SSR for my Angular 17 app which migrated from Angular 14 recently. When building for SSR I can see it's building fine for the browser and server both but when trying to serve ...
0
votes
2
answers
59
views
Angular16 Maximum call size exceeded
I am trying to build a project on angular16 but whenever I do so I get the following error:
./src/main.ts - Error: Module build failed (from ./node_modules/@ngtools/webpack/src/ivy/index.js):
Error: ...
1
vote
0
answers
96
views
Angular SSR fails to access .NET backend with SSL while client-side works fine
I'm encountering an SSL certificate issue with Angular SSR (Server-Side Rendering) when trying to access my .NET backend. The interesting part is that everything works perfectly fine on client-side ...
0
votes
0
answers
45
views
Angular 11 Build Fails With No Change on Heroku Dev Build (Error Reading Property 'kind' of undefined)
I have an angular 11 and nodejs app that is running on heroku. The application was working and building perfectly fine, then recently since about a week ago, the build keeps failing on the heroku dev ...
0
votes
0
answers
126
views
Angular 18 Installing json-server have this error File db.json not found
I am doing an Dummy Angular 18 Application. I am using Visual Code, and Node version v20.18.0
I am trying to install Json Server, so first I run the command npm install json-server
In package.json ...
0
votes
1
answer
205
views
ng build --configuration production causes This call to "require" will not be bundled because the argument is not a string literal
After doing some research, I still can't find a fix to my issue. After updating npm, angular, node(because I saw https://github.com/angular/angular-cli/issues/27674) and increasing maximumError budget(...
0
votes
0
answers
54
views
I want to protect certain cells in an excel using the npm package XLSX
The problem however is that the only way to do it is using the ws['!protect'] attribute to the whole sheet and then traverse through each cell one by one and set it as:
worksheet1[cellAddress].s = { ...
0
votes
0
answers
36
views
Angular + API + backend Node
I have an Angular application and I need it to send an API POST request, but this request would have to be executed outside the browser, that is, through the node backend or through Powershell or ...
0
votes
1
answer
88
views
Unable to Install Dependencies in Angular 15 Project (ngx-admin) Due to Dependency Conflict
I recently cloned an Angular project that uses version 15. However, when I tried to install the dependencies using npm install, I encountered the following error related to dependency resolution:
npm ...
2
votes
3
answers
79
views
ng version does not show the version 17
I have installed Angular globally on my Linux Fedora machine with sudo npm i -g @angular/[email protected]. However, when I run ng version, it prints the following:
_ _ ...
2
votes
1
answer
148
views
Angular working fine on localy but not on github action
I'm currently working on an Angular project that builds successfully on my local machine using the command ng build --prod. However, when I try to run the same build process in GitHub Actions, it ...
0
votes
1
answer
56
views
Problems with cors
I'm developping an app using Ionic Angular which has front (localhost 8100) and back (localhost 3700), but when i try to do a fetch to get some items from the database, i got an error that says:
&...
1
vote
0
answers
172
views
AggregateError - npm run - Angular Jhipster
I setuped the Jhispter application with spring boot + angular . The issue is that when ever i try to run the fronent applicationstand alone by using npm run command then its giving me AggregateError. ...
0
votes
1
answer
150
views
ionic capacitor error:- ERR_OSSL_EVP_UNSUPPORTED | digital envelope routines
I am facing issue on ionic build error after updating to node v18.20.4, It was working fine with node v16.20.2.
I tried below options with no luck
1) set NODE_OPTIONS=--openssl-legacy-provider
Note:- ...