Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 5 years ago.
Improve this question
I'm new to node Js - I tried to create server with node , this is my code
Node Create Server
it is throwing following error , can anyone guide me to create Server or fix this issue ?
Create Server Error
It is syntax error. You wrote on 4. line funtion it is not true. Write function
Related
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 2 years ago.
Improve this question
I built a node JS API that I use in an application. That API returns results from a database.
How could I do to make that API uninterrupted? Indeed, I used a nohup node index.js to run the webservice but it stops quite frequently..
Any help would be greatly appreciated, thank you.
there are about a gazillion reasons a process can "be interrupted", aka crash. You don't want to have an uncrashable process, rather one that is restarted automatically when crashed.
Have a look at pm2 for this.
Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 4 years ago.
Improve this question
i have installed mongoDB on ubuntu server and it works well with my node project.
But now it shutdowns automatically and i don't know why it stops
Actually i have solved the issue by running an SDK on the server named 'pm2'
which helped me to run the mongo db without stoping.
Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 4 years ago.
Improve this question
I am creating a server in prisma cloud using heruko and getting a vague error
Screenshot attached
Is anyone getting the same error?
The issue is solved. Recreate Prisma server again.
Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 6 years ago.
Improve this question
I've been using AWS Lambda to run my node scripts for the past 2/3 weeks and today suddenly I'm getting https://lambda.us-east-1.amazonaws.com/2015-03-31/functions/login/invocations ERROR on my console, is anyone having the same error?
Can someone shine some light on this error?
Lambda is experiencing issues in us-east-1 at the moment.
If you are testing in us-east-1, that might be it.
You can check status here.
Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 6 years ago.
Improve this question
We are starting out a new Nodejs project, and I am working on wiring up Winston to Loggly.
Since we are new to node, my question is, what is typically information that should be logged and in what format for Loggly to accept it? What do you guys find helpful when going through the logs, i.e, remote address, method where error happend, etc... ?
This Ultimate Guide to Logging in Node give some some good ideas you can use as a starting point. It also gives you tips on how to troubleshoot common problems. I helped put the team together to write it. It's an open source guide, and we take suggestions on topics and content from the community.