All Questions
9,178 questions
0
votes
0
answers
24
views
Is there any textbox available which could work like a free textbox and also work as dropdown list in node.js or jQuery [duplicate]
I want to show options on mouse click in textbox like a dropdown list.
And also I could enter my own text in free textbox (If option is not showing into the listing) using node.js or jQuery.
dropdown ...
1
vote
0
answers
783
views
Creating a development server in Angular has error :TS2502
I have created a angular application with the following versions.
Angular CLI: 14.2.13
Node: 16.20.2
Package Manager: npm 8.19.4
When I created a new angular project.
And run the project as ...
0
votes
0
answers
106
views
Angular build process hangs at "Building..." and doesn't create dist folder
I am developing a system using Angular CLI: 17.3.9 and Node: 18.13.0. After finishing the development, when I run the command,
ng build
or
ng build --verbose
or
ng run build
the build process ...
0
votes
0
answers
40
views
Getting error after trying to use authentication of Firebase service from another component
I am using the Firebase Authentication service in my Angular app. I have created a service to check the user authentication status. When I try to use this as a service in the navbar component I get ...
2
votes
1
answer
199
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
1k
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
166
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
62
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
38
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
121
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
32
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>
&...
2
votes
1
answer
208
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
1
answer
49
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
159
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
25
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
134
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
648
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
36
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
207
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
71
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
454
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
134
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
191
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
186
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
859
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
54k
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
80
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
48
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
46
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
523
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
40
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
28
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
4k
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
99
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
458
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
55
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
363
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
797
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
736
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
1k
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 ...
3
votes
3
answers
9k
views
ENOTDIR error on npm install (npm 3 over node 4. I know: legacy. Sorry :( )
First of all, my apologies for reporting a problem of npm3 here, but it looks like the old repo is currently in read only mode.
We have a big and old angularjs frontend app, that requires node4 and ...
0
votes
1
answer
3k
views
NG Build Command is failing
I'm trying to build angular application using 'ng build --prod'. Below are the information.
ng v
_ _ ____ _ ___
/ \ _ __ __ _ _ _| | __ _ _ __ ...
8
votes
2
answers
12k
views
Module '"rxjs"' has no exported member 'firstValueFrom'
App.service file looks like this:
import { Injectable } from '@nestjs/common';
import { HttpService } from '@nestjs/axios';
import { Observable, firstValueFrom } from 'rxjs';
// import { ...