hosseinkhalili
hosseinkhalili
WWasp-lang
Created by hosseinkhalili on 5/22/2024 in #🙋questions
wasp start in custom port that added in .env
i want project start in port 3032 instead of 3000
16 replies
WWasp-lang
Created by hosseinkhalili on 5/22/2024 in #🙋questions
wasp start in custom port that added in .env
wasp start 🐝 --- Starting compilation and setup phase. Hold tight... ------------------------ 🐝 --- Compiling wasp project... -------------------------------------------------- 🐝 --- Setting up database... ----------------------------------------------------- ✅ --- Database successfully set up. ---------------------------------------------- ✅ --- Your wasp project has successfully compiled. ------------------------------- 🐝 --- Listening for file changes... ---------------------------------------------- 🐝 --- Starting up generated project... ------------------------------------------- [Server] > [email protected] watch [Server] > nodemon --exec 'npm run build-and-start exit 1' [Server] [Client] > [email protected] start [Client] > npm run validate-env && vite [Client] > [email protected] validate-env [Client] > node -r dotenv/config ./scripts/validate-env.mjs [Client] [Client] 🔍 Validating environment variables... [Server] [nodemon] 2.0.22 [Server] [nodemon] to restart at any time, enter rs [Server] [nodemon] watching path(s): src/*/ .env [Server] [nodemon] watching extensions: ts,mts,js,mjs,json [Server] [nodemon] starting `npm run build-and-start exit 1` [Server] [Server] > [email protected] build-and-start [Server] > npm run build && npm run start [Server] [Client] VITE v4.5.3 ready in 1788 ms [Client] [Client] ➜ Local: http://localhost:3000/ [Client] ➜ Network: http://172.18.141.175:3000/ [Client] ➜ press h to show help [Server] > [email protected] build [Server] > npx tsc [Server] > [email protected] start [Server] > npm run validate-env && NODE_PATH=dist node -r dotenv/config dist/server.js [Server] [Server] [Server] > [email protected] validate-env [Server] > node -r dotenv/config ./scripts/validate-env.mjs [Server] [Server] 🔍 Validating environment variables... [Server] 🚀 "Username and password" auth initialized [Server] Server listening on port 3001 i want project start in port 3032 instead of 3000
16 replies
WWasp-lang
Created by hosseinkhalili on 5/22/2024 in #🙋questions
wasp start in custom port that added in .env
@kapa.ai are you there?
16 replies
WWasp-lang
Created by hosseinkhalili on 5/22/2024 in #🙋questions
wasp start in custom port that added in .env
@kapa.ai doesnt help
rt
[Server] > npm run build && npm run start
[Server]
[Client!] node:internal/errors:484
[Client!] ErrorCaptureStackTrace(err);
[Client!] ^
[Client!]
[Client!] RangeError [ERR_SOCKET_BAD_PORT]: options.port should be >= 0 and < 65536. Received NaN.
[Client!] at new NodeError (node:internal/errors:393:5)
[Client!] at validatePort (node:internal/validators:372:11)
[Client!] at Server.listen (node:net:1613:5)
[Client!] at httpServer.listen (file:///mnt/e/projects/graphay/octopus_plugin/example/law-consultant/.wasp/out/web-app/node_modules/vite/dist/node/chunks/dep-41cf5ffd.js:65353:20) {
[Client!] code: 'ERR_SOCKET_BAD_PORT'
[Client!] }
[Client!]
[Client!] Node.js v18.12.0
rt
[Server] > npm run build && npm run start
[Server]
[Client!] node:internal/errors:484
[Client!] ErrorCaptureStackTrace(err);
[Client!] ^
[Client!]
[Client!] RangeError [ERR_SOCKET_BAD_PORT]: options.port should be >= 0 and < 65536. Received NaN.
[Client!] at new NodeError (node:internal/errors:393:5)
[Client!] at validatePort (node:internal/validators:372:11)
[Client!] at Server.listen (node:net:1613:5)
[Client!] at httpServer.listen (file:///mnt/e/projects/graphay/octopus_plugin/example/law-consultant/.wasp/out/web-app/node_modules/vite/dist/node/chunks/dep-41cf5ffd.js:65353:20) {
[Client!] code: 'ERR_SOCKET_BAD_PORT'
[Client!] }
[Client!]
[Client!] Node.js v18.12.0
16 replies