Announcement

Collapse
No announcement yet.

Running node.js applications

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Running node.js applications

    Hi! I have tried to run node.js application but its giving error 500. Can you help? I have the application configured (see screenshot). [attachment]Image 3.png[/attachment] - Running the subdomain feed.xxx.com it return with 500 error. - Running the link www.xxx.com/feed returns the same error code 500. I tried to run the "Run NPM Install" but it returns the error that its in the screenshot [attachment]Image 2.png[/attachment] Am i missing something? Thanks Nuno Leite

  • #2
    Hello,

    Please submit a ticket to https://cloudlinux.zendesk.com, so we could take a closer look.

    Thank you.

    Comment


    • #3
      Hi!

      I have found that enabling mod_passenger the app.js runs. It has some bugs, but maybe its related with the app itself.
      Does the node.js only works with mod_passenger?

      The mod_passenger is incompatible with mod_userdir and we are using mod_userdir to build new websites while they are not online.

      So we have a problem here with these two apache modules being incompatible.

      Is there an alternative? Is there a way to run node.js without mod_passenger?

      This does not invalidate the Error shown in "image 2.png" when we run NPM Install, this always happens.

      Thanks
      Nuno Leite

      Comment


      • #4
        Hello,

        > Does the node.js only works with mod_passenger?

        Correct, mod_passenger is required to run Node.JS apps: https://docs.cloudlinux.com/overview__requirements.html

        Comment

        Working...
        X