Skip to main content

All Questions

Tagged with
4 votes
1 answer
1k views

What is constructor.constructor()() in JavaScript?

I'm bug hunting on h1 and I've found a way to trigger an alert box using constructor.constructor() on a site using Angularjs, Nodejs and other JavaScript libraries and I am looking to truly understand ...
Alvaro's user avatar
  • 105
1 vote
1 answer
3k views

Can't figure out how to use webpack's require.context()

I have an AngularJS with webpack project, and I want to import all the .js files in my project to webpack without adding the path of each file individually, so on the webpack docs I found this require....
Kevin Shibuya's user avatar
0 votes
1 answer
2k views

MongoDB database connection is not working in express with mongoose

I am trying to connect mongoDB database with my app but can not be succeeded. I followed another answers related to this but failed that is why I asked here. This is an old project. It needs to ...
mdmostafa's user avatar
  • 802
0 votes
2 answers
2k views

Facing error while running ng serve command

I am trying to run ng serve command for my project , i tried npm i command for many times, but it showing same error continously. Node version is : v16.13.2 Npm version is : 8.4.1 Image is of error
Aniket kute's user avatar
4 votes
0 answers
682 views

How to convert audio.mp3 to audio.flac?

Google cloud speech to text only accepts flac or raw formatted audio files. I want to convert an audio.mp3/wav file to audio.flac but the converter functions I am using is not working properly. Can ...
Ariyan Ashfaque Mostafa's user avatar
0 votes
1 answer
341 views

How to process Callback from API POST NodeJS

I am using this API Function https://developers.cryptoapis.io/technical-documentation/wallet-as-a-service/transactions/create-coins-transaction-from-address-for-whole-amount And a NodeJS back end with ...
Illia's user avatar
  • 1
0 votes
1 answer
628 views

How can i pass a secure/sensitive string from my back (nodejs) to my front (angular) hidden from user?

I am currently working on a project composed by: Front: Angular ; Back: NodeJS The backend compiles angular static files with the command: response.sendFile(path.join(__dirname, 'dirname', 'index.html'...
cqfvideo's user avatar
-1 votes
1 answer
62 views

subtract and add time having both negative and positive time in javascript

-12:00 - 5:30 => -6:30 -2:00 - 5:30 => 3:30 00:00 - 5:30 => -5:30 6:00 - 2:30 => 3:30 i want to subtract time having both positive and negative index let myCountries = [ { ...
Prithvirajsinh Jadav's user avatar
0 votes
1 answer
986 views

Why am I getting syntax error while installing NPM?

I have installed NodeJS v17.5.0 but when I am trying to install angular/cli using npm syntax in command prompt it is showing error C:\Users\bjnai>npm install -g @angular/cli The syntax of the ...
Project Android's user avatar
1 vote
1 answer
6k views

Error on installing node: npm ERR code ETIMEDOUT

I am trying to install npm in a particular directory on the office's laptop. But it is throwing an error: npm ERR! code ETIMEDOUT npm ERR! syscall connect npm ERR! errno ETIMEDOUT npm ERR! network ...
muskaan sharma's user avatar
0 votes
1 answer
123 views

Gulp 3 to 4 migration : gulp serve won't start the http server

In an AngularJS 1.7 project, I've managed to migrate my gulp configuration files from 3.9 to 4.0.2, but the http server won't start with a "gulp serve" I've : Converted all the dependencies ...
Thomas's user avatar
  • 1,317
0 votes
1 answer
23 views

Show word count after three words?

I am calling data from api in angular and it is a multiselect option what I want is if data is more than three words its should show count of remaining entries how can I do this can anyone help?
Juned Adenwalla's user avatar
0 votes
2 answers
1k views

npm Install : unable to resolve dependency tree

Eveytime i try npm install i go this errors it is a boilerplate project is downloaded from : https://aspnetboilerplate.com/Templates. I cant generate node_modules folder or start the server it s only ...
Dr.Dev1998's user avatar
0 votes
3 answers
922 views

show date in correct format angular

I am making an application in which I want user to submit date date is getting stored in database in this format 2003-06-01T00:00:00.000+00:00 I want to display it as 01/06/2003 or 1st June 2003 can ...
Juned Adenwalla's user avatar
0 votes
1 answer
1k views

How do I get my Stripe payments to work on Angular and Node.js?

I am registered for Stripe, and I am working on an e-Commerce website. When I click "GO TO CHECKOUT" button, I get an error which says POST http://localhost:4200/create-checkout-session 404 (...
Max Dell-Thibodeau's user avatar

15 30 50 per page
1
3 4
5
6 7
613