All Questions
9,193
questions
1
vote
5
answers
20k
views
Blank screen displays After running Angular 4 web app project First time
I try to run my first Angular 4 js web project. so I have installed node.js for my npm manager and I am using visual studio code as an editor. After following the below steps. I get the blank screen ...
22
votes
5
answers
11k
views
Client Side HTML MVC Rendering vs Server Side Rending via NodeJS
We are looking for options on our team to decide between a Angular based client side MVC approach and a server side NodeJS / ExpressJS server side render approach.
Our Angular app downloads as one ...
39
votes
4
answers
34k
views
Handling cancelled request with Express/Node.js and Angular
When a pending HTTP request is cancelled by a client/browser it seems that Node with Express continues to process the request. For intensive requests, the CPU is still being kept busy with unnecessary ...
15
votes
6
answers
39k
views
Multipart form parse error - Invalid boundary in multipart: None
I am very frustrated and could not find the soloution:
I am creating a project using angularjs and nodejs.I get image data from angular side in node js and send this data to further api.I got error
...
0
votes
1
answer
9k
views
NPM Start isn't working (Can't get Node working on Mac OS X Yosemite)
I'm a Rails guy, but I'm trying to learn a bit of Angular JS. I wanted to go through this tutorial, but I can't even get a node server to start running.
Below is the npm-debug.log file
0 info it ...
21
votes
7
answers
47k
views
Error: Cannot find where you keep your Bower packages. Use --force to continue
I'm building an App using MEAN Stack and trying to scaffold my frontend using yeoman-generator, when I do yo angular, it fails to build and ends up in the following:
Running "wiredep:app" (...
4
votes
2
answers
23k
views
net : ERR_CONNECTION_CLOSED
hi I have been facing a problem in chrome. I don't know if it is my code fault or the chrome fault. And the error is
Failed to load resource: net::ERR_CONNECTION_CLOSED
my QSTNURL is
const app = ...
1
vote
0
answers
548
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 ...
6
votes
1
answer
8k
views
Need to execute a Shell Script from Angular JS UI
I need to execute a shell script on click of a button using Angular JS, can anyone tell me how can this be achieved ?
I need to pass a few inputs(Parameters,Arguments) to that shell script before ...
7
votes
1
answer
2k
views
Configure heartbeat timeout, heartbeat interval and close timeout on server
I have a node.js server and I am using socket.io for realtime communication between the server and clients. I have observed that if a mobile client (using Ionic Framework) disconnects suddenly, ...
4
votes
2
answers
7k
views
Node JS cookie parser not working
I am following a tutorial at https://www.codementor.io/nodejs/tutorial/cookie-management-in-express-js. I want to use cookies in my web app to authenticate requests to an API that I am building with ...
9
votes
4
answers
20k
views
How to use npm module in angular?
I am trying to use braintree-web npm module with AngularJS since I get errors when I try and include it in the template with:
<script src="https://js.braintreegateway.com/v2/braintree.js"></...
159
votes
36
answers
143k
views
Cannot find module '../build/Release/bson'] code: 'MODULE_NOT_FOUND' } js-bson: Failed to load c++ bson extension, using pure JS version
I am getting the below error:
{ [Error: Cannot find module '../build/Release/bson'] code: 'MODULE_NOT_FOUND' }
js-bson: Failed to load c++ bson extension, using pure JS version
Here are my ...
0
votes
0
answers
31
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&...
4
votes
3
answers
6k
views
Serving PDF content back to browser via Node Express using pdfMake
I am making use of the pdfmake library for generating PDF documents in my node express application and want these to be sent straight back to the client to trigger the browser to automatically ...