oog
oog
RRailway
Created by oog on 2/5/2024 in #✋|help
Unable to deploy express.js project: EADDRINUSE: address already in use
again thank you so much
22 replies
RRailway
Created by oog on 2/5/2024 in #✋|help
Unable to deploy express.js project: EADDRINUSE: address already in use
worked locally though, so strange
22 replies
RRailway
Created by oog on 2/5/2024 in #✋|help
Unable to deploy express.js project: EADDRINUSE: address already in use
i was truly stumped
22 replies
RRailway
Created by oog on 2/5/2024 in #✋|help
Unable to deploy express.js project: EADDRINUSE: address already in use
unbelievable i knew it was something stupid, thank you so much for your help
22 replies
RRailway
Created by oog on 2/5/2024 in #✋|help
Unable to deploy express.js project: EADDRINUSE: address already in use
oh my god. I forgot to switch mode in astro.config.mjs to middleware instead of standalone, thats why the address was already in use
22 replies
RRailway
Created by oog on 2/5/2024 in #✋|help
Unable to deploy express.js project: EADDRINUSE: address already in use
Before removing the custom start/build commands the npm WARN config production Use --omit-dev instead. line was not there
22 replies
RRailway
Created by oog on 2/5/2024 in #✋|help
Unable to deploy express.js project: EADDRINUSE: address already in use
Deploy log is just this repeated
npm WARN config production Use `--omit=dev` instead.
> node start.js
Now listening at http://localhost:5978!
node:internal/errors:496
ErrorCaptureStackTrace(err);
^
Error: listen EADDRINUSE: address already in use 127.0.0.1:5978
at Server.setupListenHandle [as _listen2] (node:net:1817:16)
at listenInCluster (node:net:1865:12)
at GetAddrInfoReqWrap.doListen [as callback] (node:net:2014:7)
at GetAddrInfoReqWrap.onlookup [as oncomplete] (node:dns:110:8) {
code: 'EADDRINUSE',
errno: -98,
syscall: 'listen',
address: '127.0.0.1',
port: 5978
}
Node.js v18.18.2
npm WARN config production Use `--omit=dev` instead.
> node start.js
Now listening at http://localhost:5978!
npm WARN config production Use `--omit=dev` instead.
> node start.js
Now listening at http://localhost:5978!
node:internal/errors:496
ErrorCaptureStackTrace(err);
^
Error: listen EADDRINUSE: address already in use 127.0.0.1:5978
at Server.setupListenHandle [as _listen2] (node:net:1817:16)
at listenInCluster (node:net:1865:12)
at GetAddrInfoReqWrap.doListen [as callback] (node:net:2014:7)
at GetAddrInfoReqWrap.onlookup [as oncomplete] (node:dns:110:8) {
code: 'EADDRINUSE',
errno: -98,
syscall: 'listen',
address: '127.0.0.1',
port: 5978
}
Node.js v18.18.2
npm WARN config production Use `--omit=dev` instead.
> node start.js
Now listening at http://localhost:5978!
22 replies
RRailway
Created by oog on 2/5/2024 in #✋|help
Unable to deploy express.js project: EADDRINUSE: address already in use
22 replies
RRailway
Created by oog on 2/5/2024 in #✋|help
Unable to deploy express.js project: EADDRINUSE: address already in use
Still the same error unfortunately
22 replies
RRailway
Created by oog on 2/5/2024 in #✋|help
Unable to deploy express.js project: EADDRINUSE: address already in use
Yeah, in the project I have the build command set to npm install; npm run build and start command to node start.js
22 replies
RRailway
Created by oog on 2/5/2024 in #✋|help
Unable to deploy express.js project: EADDRINUSE: address already in use
22 replies