All Questions
9,192
questions
2
votes
1
answer
41
views
How to Make a Chat Widget Sticky in a Next.js App
Issue:
The Voiceflow widget in my Next.js app is not fixed in position and moves with the page when scrolling. It should behave like a sticky navbar and remain fixed in the viewport. I tried all ways ...
2
votes
1
answer
788
views
ip SSRF improper categorization in isPublic - IP node package vulnerability
I found ip SSRF improper categorization in isPublic vulnerability.
when i tried npm audit to get vulnerability report, I found the below vulnerability related to ip package
`ip *
Severity: high
ip ...
0
votes
0
answers
57
views
Making a recurrence Rule for a calendar in Angular Calendar
I am using an Api of events to show on the app using angular-calendar library and I am a bit confused in making recurring events.
Here are the events for example
const eventData = {
"code&...
0
votes
0
answers
54
views
Provisional headers are shown in .Net Core 2.2
I have noticed the message "Provisional headers are shown" as in the below image in the developer console. Along with this message, it shows CORS error. web application is built on angular ...
0
votes
0
answers
35
views
Google cloud deploy: sqlMessage: "Access denied for user 'hapi-server'@'cloudsqlproxy~34.151.243.169' (using password: YES)",
I'm trying to deploy a simple application on Google Cloud, but this error is ocurring:
/app/node_modules/mysql/lib/protocol/Parser.js:437
throw err; // Rethrow non-MySQL errors
^
Error: ...
0
votes
0
answers
70
views
Error: EACCES: permission denied, open 'package.json' when building my node app with Docker
I have the following Dockerfile:
FROM centos:7 as builder
RUN yum update -y && \
yum install -y wget && \
yum install -y libXcomposite libXdamage libXcursor libXext libXi ...
0
votes
1
answer
30
views
How to substring in AngualrJS tag before printing the HTML output
I'm new to TypeScript and AngularJS.
The following code will print a list of "<div>"s by using TypeScript:
{{#if styles}}
<h2 class="box-header">Styles</h2>
&...
0
votes
0
answers
27
views
Error saving meeting data: SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data
while parsing the data from server.js file into the db i am getting Error saving meeting data: SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data this error.
in firefox ...
0
votes
0
answers
212
views
Continuous loop of 8 different videos starts lagging after a few hours
I have developed 3 years ago an AngularJS/Node.js application that shows a loop of short videos. The screen output is used as input for other video software for displaying these videos on ledboarding. ...
0
votes
0
answers
309
views
Node.js GLIBC Compatibility Issue on Ubuntu - How to Resolve?"
The error message indicates that the Node.js version I'm trying to use is not compatible with the GLIBC library version installed on my Ubuntu system, requiring me to either update GLIBC, use a ...
2
votes
1
answer
95
views
How to work with an old angularJS 1.5.5 app
I have to work on an old AngularJS 1.5.5 app for maintenance purposes but I don't know how to setup a good env for it.
Which version of NodeJS/NPM should I install to make it working with the gulp ...
0
votes
0
answers
187
views
I am facing an Error 413 Request Entity Too Large while uploading anything above 2GB as a video file in my project
When I try to upload a video file over 2GB it gives me request entity too large error.
Anything below 2GB is fine to upload.
I am already using client_max_body_size and set that up too 5gb.
here is my ...
0
votes
0
answers
13
views
Angular applications, express.js server, sending an email via form on the front-end side
Error sending message:
Object { headers: {…}, status: 500, statusText: "Internal Server Error", url: "http://localhost:3000/invia-email", ok: false, name: "HttpErrorResponse&...
0
votes
0
answers
27
views
Socket.io not connecting on mobile web browser
I'm encountering an issue when trying to connect to a socket from a mobile browser. When I open the same link on a PC, the socket connection is successful, but on the mobile browser, it disconnects ...
0
votes
1
answer
42
views
fsm.WriteStream is not a constructor
Please assist. I am trying to install @ng-idle/keepalive using the following command npm install --save @ng-idle/core and I am getting the following error
npm ERR! fsm.WriteStream is not a constructor ...
-1
votes
1
answer
120
views
npm i bootstrap command not working for install boostrap
npm i bootstrap command not working for installing bootstrap. Nothing added to packages.json file and to node_modules.`
package.json dependencies:
"dependencies": {
"@angular/...
0
votes
0
answers
48
views
NodeJS and AngularJS genereted corrupted files
I'm having problems downloading files, my data comes from an API (NodeJS + Express).
The xlsx files are simply corrupted and do not open, as do those in zip format.
Some xlsx have strange characters ...
0
votes
0
answers
105
views
Live-server alternatives for node 6.10
I need to use live-server for a project, as well as Node v6.10.0. From my understanding and trial-and-error, live-server is not compatible with this version of Node and I cannot use ng serve because ...
0
votes
0
answers
24
views
Why I am unable to access express js service through different or specific ip address
This is my backend code.
var port = normalizePort(process.env.PORT || '3009');
app.set('port', port);
var server = http.createServer(app);
const ip ='198.168.0.132'
server.listen(port, ip ,()=>{
...
0
votes
0
answers
122
views
How to read Cloudfront headers in Spartacus
`Hi,
We are trying to setup AWS Cloudfront as the CDN for Spartacus Hybis Storefront and would like to extract the Cloudfront Header value for the key 'cloudfront-viewer-postal-code' to get the user'...
1
vote
0
answers
558
views
Gulp 3.9 verion not compatibe with Node latest version
ReferenceError: primordials is not defined
The solution that worked is Upgrading the gulp version but it comes with another problem and that seems to be some changes in the v4.What exact version of ...
0
votes
0
answers
32
views
cant find command ng and npm
Why can't I run npm or ng commands?
I install NodeJs folder & created a TestApp_50_Angular project using visual stuido
folder
I am setting up env variables here
0
votes
1
answer
188
views
How to Send Bep-20 Token to Multiple addresses without using for loop in web3 or Ethers
We want to send tokens to multiple addreses without using any loop and also we did'nt wrote the solidity. If im using loop site getting very slow and also it throw timeout error. Is There any ...
0
votes
1
answer
67
views
Datasource data is not populating
I am new babie in Angular (Currently using 14.2.10)
Need to make REST call and populate the data in UI. But I can see only header is populated without any data.
I feel some minor issue (Not able to ...
1
vote
1
answer
427
views
Verify access tokens from multiple front end apps (client ID) using okta-jwt-verifier
We have 2 front end apps(angular) using the same backend api. Is it possible to send in an array of clientIds, so we can verify access tokens generated from multiple applications?
const ...
0
votes
0
answers
54
views
Upload Image data showing {} in Nodejs from ANgular js
I am wrking on nodejs . i got response from frontend post request. all dataa is getting but upload file data showing null. {}
Pleasse see images
enter image description here
enter image description ...
0
votes
1
answer
125
views
Angular dependency issue Windows to Linux
I'm trying to host an Angular application for a customer, but I can't get it to run on Linux. The customer develops on Windows and it works for him. I am using NodeJS 19.
Error message when npm ...
0
votes
0
answers
165
views
the current version of node (16.17.1) is not supported by angular
Someone help me with this above context. I'm not able to resolve this issue
I tried downgrading the node.js version to the version which is supported by the angular but yet no luck.
0
votes
1
answer
165
views
Cannot find module '../../third_party/github.com/chalk/supports-color'
In my mytuoring-frontend-main project
package.json
{
"name": "app-frontend",
"version": "0.0.0",
"license": "MIT",
"scripts&...
1
vote
0
answers
785
views
Installing packages (npm)...npm ERR! code EHOSTUNREACH
npm ERR! syscall connect
npm ERR! errno EHOSTUNREACH
npm ERR! request to https://registry.npmjs.org/thunky fallied,reason: connect EHOSTUNREACH 2000:4700:8393:88e2:e439:41d:6810:1023:443
npm ERR! A ...
11
votes
2
answers
48k
views
How to solve Odd numbered Node.js versions will not enter LTS status and should not be used for production node:16120 UnhandledPromiseRejectionWarning
i tried creating a new angular application ng new app and i got this error
Node.js version v11.0.0 detected.
Odd numbered Node.js versions will not enter LTS status and should not be used for ...
5
votes
2
answers
2k
views
self is not defined error when i am using jodti-react text edior in nextjs project
self is not defined error when i use jodti-react in nextjs project
import React, { useState, useRef, useMemo } from "react";
import Dashborad from "./Dashborad";
import JoditEditor ...
1
vote
2
answers
79
views
Regex to find even occurrence of a character in a string every time it repeats in a string in JavaScript
Regex to find even occurrence of a character in a string every time it repeats in a string
Example:
YYMMDD-YYYY-DD true
YYMDD false
Y,M,D are case sensitive Y,M,D can appear multiple time at multiple ...
1
vote
0
answers
46
views
Error occured while trying to proxy to: localhost:4200/auth/registerMe Gateway Timeout
I have a MEAN App running inside ubuntu virtual machine in my windows Computer.I run this using docker-compose up.Now the containers are running but when I tried to register the form it shows error
&...
0
votes
3
answers
2k
views
Formatting the negative number input to positive number surrounding with braces using number format component
I have the below code on my current component. The requirement is when a user enters the negative number it should convert to positive number and surrounded with braces. For example if a user enters -...
0
votes
0
answers
18
views
When I update document it create new document in mongodb using mongoose?
When I update any value on frontend it get update in mongodb except boolen value . when I update boolen value on frontend it create new document for that change in collection. below is my code snippet....
-1
votes
1
answer
45
views
AngularJS app sign-in function 404 error, xhr.send(post || null)
An old web app that uses Angular, gulp and coffee-script, and was running whit forever(NPM package).
When I click the sign-in button on the page, the page will refresh and show a 404 error, an apache ...
1
vote
0
answers
111
views
Error: cannot find module error in angularjs docker desktop
angular-angular-1 | node:internal/modules/cjs/loader:988
angular-angular-1 | throw err;
angular-angular-1 | ^
angular-angular-1 |
angular-angular-1 | Error: Cannot find module '/usr/src/app/...
0
votes
0
answers
493
views
Do I need Babel to transpile ES6 to ES5 nowadays?
I'm trying to upgrade an angularJS project and I'm stucked on one question, but let me summerize the project:
We use AngularJS, gulp and node 8.
we currently cannot use the ES6 features, like arrow ...
0
votes
2
answers
38
views
MEAN Stack How to save data from radio type AngularJS form into MongoDB
I'm going nuts!
I have a multistep form to get information based on user choice. All of the choices are type = radio except name because it takes text as type. For that form, I've used AngularJS (I ...
1
vote
0
answers
27
views
Express combining two directories and changing the path
So I'm making an app with nodejs, express, and angularjs. I was following a couple of tutorials and decided to integrate into my project.
I have a index.html and there there is a button to create a ...
1
vote
1
answer
3k
views
Set default nodeJs version Angular project
I am working with an older angular project that will not run with the latest nodeJs version. So when I do other projects I have to set my current nodeJs version to the latest one and when I run my ...
0
votes
1
answer
80
views
NPM is known not to run on Node.js v11.15.0 I am working on angular js so cant lower version? what to do?
npm is known not to run on Node.js **
v11.15.0V
**
0
votes
2
answers
330
views
How to perform cy.type() for date-time input field
I have an input tag as shown below:
<input aria-invalid="true" name="datetime" required="" type="date-time" class="MuiInputBase-input MuiInput-input ...
0
votes
0
answers
53
views
MEAN stack delete request has 404 not found error
My post request and list all request are working fine, but I have problem getting my delete request to work. I have tested in Postman, but still have error. I think my delete url is fine, I can ...
0
votes
1
answer
357
views
Cant get the request content from a form with nodejs, express and mongoDB
I need to access the data posted by a form to handle it with node and express, so then I can add it to mongoDB. The answer I get for NAME is "undefined" and for DATA "[object Object]&...
0
votes
2
answers
650
views
keep track of active users - Angular
I have a web page with angular and I need to know the number of active users, it is useless to do it based on the users who have logged in, because perhaps they logged in once and have not entered ...
1
vote
1
answer
681
views
Date format change in frontend
From backend I am getting an array of objects(leavedays)-
var leavedays=
[{"_id":"62d544ae9f22d","season":2022,"name":"LEAVEDAY1","...
0
votes
2
answers
956
views
Gulp - migrate from node-sass to sass for Angular.JS
we have an Angular.JS project and we using Gulp.
I am trying to get out of node-sass as its deprecated to dart sass
is angular.js compatible with sass
Node version : 15
here how we are using the node-...
0
votes
1
answer
3k
views
Getting Error: TypeError: Cannot read properties of null (reading '0')
I want to upload an excel file for that I used ng-click and define the fileUpload($event) function in the app controller scope and with the help of xlsx I want to read the file in JSON but while ...