Th
TheJezza
@TheJezza
1topics
16posts
joined
last seen
Recent topics
Recent replies
Struggling to deploy my Node.js websiteI really appreciate your support and help so far. I have made some changes using the link you sent but my local server that I used to test the app doesn't even Struggling to deploy my Node.js websiteCould it be any conflict with the IndexFile towards the beginning of the code having "index.php, index.html"? All this code was there by default and only made tStruggling to deploy my Node.js websiteit is replaced with my domain. I have checked and it is spelled correctly.Struggling to deploy my Node.js websiteHere is my vHost Conf file with the changes made: >docRoot $VH_ROOT/public_html vhDomain $VH_NAME vhAliases www.$VH_NAME adminEmails example@example.com enableGStruggling to deploy my Node.js websiteand when I change the IndexFile in the vHost Conf to 'app.js', the preview link and my domain just shows the 'app.js' code: Struggling to deploy my Node.js websiteI changed my 'app.js' back to port 3000 and run the 'npm install' command. But when I run 'npm.js', I get the below error: > node:events:491 > throw er; // UnhaStruggling to deploy my Node.js websiteApologies. When I run "which node", I get: > /usr/bin/node When I run "whereis node", it changes to "whereis node_modules" and I get: ![image|690x99](upload://jStruggling to deploy my Node.js websiteit says: node_modules: /usr/lib/node_modulesStruggling to deploy my Node.js websiteThanks again for your help so far. I have checked my database connections and I think they are correct. But I can see that there are 3 areas where the credentia