NodeJS just crashes without any information - node.js

I am trying to deploy a meteor (nodeJS) app on a Virtual Server.
My Problem:
I cannot start forever - I thought. Then I tried to start the app as described in the manual: node main.js just error code -1.
Then I tried to check wich Node version is installed node -v and I also get a return value of -1 and no more error message.
Does anyone have an idea?

A reinstallation of the nodejs packet (jap, the "node" packet is something different in ubuntu) helped

Related

command not found on my program while running it

how can i solve this [I just started learning nodejs and express. I currently use Linux Manjaro and I downloaded the required things from its store, but when I want to run something npm start or node server.js an error will occur and tells me command not found!.1?

Issues running React app on Windows environement

I have a working react app that I had hosted on a linux environment, but the client has switched their hosting provider and now I have to run the app on a Windows environment. I personally am unfamiliar with Windows and having some serious issues getting my app to work now.
After loads of debugging and testing I now can get my app to run, but when I start it, it will throw some errors which will results in a broken app in the browser.
So when I run npm start it will start up the app and spit out this error:
Screenshot of the terminal error 1/2
Screenshot of the terminal error 2/2
It seems to spit out some complaints when using npm run watchJS which runs this command babel src --watch --out-dir lib.
I am completely lost at this point and have no idea where to go from here.
I can provide as much detail as anyone needs after looking at the question, I just don't know what else to add to this issue and don't want to fill up this question with irrelevant info.
Thanks in advance for any help
It is likely a bug with the version of npm you are using.
See this thread:
https://github.com/npm/npm/issues/18380
Try rolling back your version of npm to 5.3
The issue appears to be exclusive to windows with babel packages.

Meteor Buildpack for Cloud Foundry

I'm trying to get the meteor buildpack for cloud foundry running and its almost there except right at the end I get a node command not found error. I've confirmed that during the build I can run node and npm version commands. I get no errors until the instance fails to start.
Node gets installed into a folder called .vendor. I'm new to linux but is it possible that this folder isn't accessible at some point for some reason because of the dot? Meteor gets installed into a folder called vendor so I will try installing node there too. Can anyone think of something else to try?? I also tried changing the node folder to 777 in case it was a permissions thing. Far as I can tell the PATH variable is setup correctly.
I got the app deployed by converting to a node app and using the node buildpack but i'd prefer to use the meteor buildpack.

Phusion, Passenger and Old Node.js issue

I'm trying to deploy a Node.js server using Nginx and Passenger but having the following issue:
Watching the log I can see that Passenger starts the nodeserver but on the client side I've got no answer.
By the way I've followed the instructions on here: Passenger/Node.js tutorial
which is simple enough to understand.
The program versions that I'm using are these:
nginx v1.4.5
nodejs v0.8.15
passenger v4.0.37
OS ubuntu 12.04
After some tests I've tried to deploy the example server found on nodejs.org even with that I got the same situation that had with the first server. So I tried to do the same test but this time using Node.js v0.10.26 and it worked just fine, equals as the v0.8.15 passenger runs the server but this time on the client side I got response from server.
Is that issue normal?
Is there a way to deploy my server with the last version of passenger even with an old nodejs version?(because the server cannot run on last Node.js version, for that reason I'm using v0.8.15).
Thanks in advance
Phusion Passenger relies heavily on streams2, so it doesn't work on Node.js 0.8.

ruining EasyRTC server using iisnode

EasyRTC is one of the best available opensource WebRTC solutions that runs in node.js! I have manged to run it on node.js on my system but my application is in Asp.net so I've been trying to run it using under IIS using iisnode! but for some reason I haven't been able to make it work! running this application in node.js i use node server.js to start the server but in IIS when i set the default page to server.js to start the application it wond work!
this is result by using
nodejs:
nodejs result: (working properly)
IISNODE Result:
looks like it's not even running it !
This error is due to lack required module for easyRTC. type in node command prompt "npm install" It will install all dependency module. And after that try to run server. I hope It will work for you.

Resources