node.js

  1. G

    Node.js app registered but not working correctly on Add-On domain

    Hoping somebody can help with this. To start off with I will say I am by no means a beginner but this one has got me stumped. So here goes... I got a VPS package through Namecheap which was the highest one available with Cent OS 7 (now 7.8), WHM + CPanel all installed and ready to go. There is...
  2. K

    How to see log file from node.js server

    I want to see the log file from node.js server. I read your document "How to Install a Node.js Application I am using a custom startup file. I got everything working. My custom startup file has this line. PassengerStartupFile "server.js" I want to see the output from server.js. I...
  3. H

    Node.js not installed properly

    Hi, I have installed Node.js from Setup Node.js option from cpanel it got installed. added package.json (which included socket.io as dependancy) in my root dir and installed npm, it is also installed. but when running application i found socket.io is not installed. So, how to install it...
  4. M

    How to deploy Node.js (Express) Restful API?

    I wanted to deploy my node api application. I'm having a hard time on how to do it? should i use Passenger or PM2?
  5. J

    HTTP requests not reaching Node.js backend on server

    I'm trying to set up a Node backend with a React frontend on a shared server running Apache and Cpanel. Both the back and front work fine and are able to communicate when I run both on my local machine. But I'm having trouble getting them to talk to each other on my production server. Full...
  6. leonep

    SOLVED node.js test app 403 fobidden error

    Hi, i am testing node,js on my server. i am following cpanel guide. curl test is ok #curl http://127.0.0.1:3000 Hello World! NodeJS i have made test application in application manager, name; nodejsapp Application URL: /nodejsapp path: nodejsapp/app.js but if i open browser in my location...
  7. B

    Failing/Blocked POST request using Node.js and Application Manager

    Hi all! I am using the application manager to host my node.js apps. On my website I have a NodeMailer Express server running in the backend that listens on port 3000 and has a path that when a contact form is filled in properly, and when the button is clicked to send the form, it goes to this...
  8. Ishware

    SOLVED Node.js in version 80 with CloudLinux

    From the Version 80 feature showcase, I clicked to provision node.js, and getting this error: Update Error: The package ea-ruby24-mod_passenger conflicts and we need to install it resolve deps at /usr/local/cpanel/Cpanel/PackMan.pm line 352. I'm running CloudLinux+CageFS on this box, in case...
  9. G

    Node.js Could not spawn process for application

    Hello, I create a node.js script in version 11.3.0 on my cpanel, however the call of the application via the https protocol, does not work. In the logs the following error is present: [E 2019-02-22 09: 56: 27.4327 452046 / T2o age / Cor / App / Implementation.cpp: 221]: Could not spawn process...
  10. G

    Error ENOMEM: not enough memory node.js

    Hello, when launching a node.js command via the CPANEL terminal the following error is present: error ENOMEM: not enough memory, scandir '/home/cpXXXX/nodevenv/nodejs2/6/lib/node_modules/.staging/util-deprecate-0920d04d' the command launched is: npm install mysql --save I have increased the...
  11. R

    Does cPanel Support Node.js?

    Hi,, i have linux vps server use centos7 and whm/Cpanel ,,,, I am asking is it support Node.js ? Thanks
  12. E

    How can I install Node.js on cPanel?

    Hello Everybody : Who know a way to install Node.Js on Cpanel as a Module ? Why Node.Js isn't implemented by default in Cpanel ? I found it : I think it's an API : /https://www.npmjs.org/package/cpanel-lib