@PitaJ Hey I did everything it was working I fixed the issue that was above I forgot what I did but I wanted to put is at my ip so when I get the domain name I can just redirect and such now it does this whenever I try changing the config for the url 025c0b31-ff60-44ae-a2cf-291ac76d0e60-image.png
Launch application with nodejs
@Rémy-Verger It's not
node path/to/the/application/, so if you're already within the directory you can give it a
.as path (
.= current directory).
node /var/www/, those are equivalent.
Thanks dude but it's don't work.
Library probblem ? Or code error ?
Does it work if you call
npm installwithin /var/www first (I assume you have
npminstalled)? I just noticed you haven't done that yet, it installs dependencies for that project.
@frissdiegurke are you sure it's not
Perhaps OP could also try
@julian Did you mean
node package.json? I don't see any server.json. Yes, I am sure. Calling the package.json with node will not start any application, It would (probably; I have no way proving this) interpret the JSON content alike
require("./package.json")but won't start the
Woops, I meant
node server... either that, or
serverought to be an executable. Would have to look inside the file to know for sure
@julian server is a directory (see OP) it could be server/httpServer.js thought, but the package.json should specify the entry point anyways; Thus
node .within the directory containing package.json is always best.
Oh thanks i didn"t install npm
But now when i did "npm start" and i want to execute the code i got this error
ty guys BTW
@Rémy-Verger What program is this anyway? Perhaps you're better off asking them directly for help