Posts
Q&A
(3) ๋ฐฑ์๋ production ๋ฒ์ ์ผ๋ก ์คํ "npm run start" ์คํ ์ ์๋ฌ ๋ฉ์ ์
PC ์ฌ์์ ํด์ Mysql์ฐ๊ฒฐ ์ฑ๊ณต ๋ด์ต๋๋ค.๊ฐ์ฌํฉ๋๋ค. ^^
- 0
- 3
- 513
Q&A
(3) ๋ฐฑ์๋ production ๋ฒ์ ์ผ๋ก ์คํ "npm run start" ์คํ ์ ์๋ฌ ๋ฉ์ ์
์คํ๊ฐ ์์๊ณ ์ ์์ ํ๋๋ ... ๋ ์๋ฌ๊ฐ...PS C:\Users\esc0\Desktop\saju\saju-backend-nodejs> npm run start> saju-backend-nodejs@1.0.0 start> cross-env NODE_ENV=prod PORT=3000 node server.jsnode:events:368 throw er; // Unhandled 'error' event ^Error: listen EACCES: permission denied 0.0.0.0:3000 at Server.setupListenHandle [as _listen2] (node:net:1317:21) at listenInCluster (node:net:1382:12) at doListen (node:net:1520:7) at processTicksAndRejections (node:internal/process/task_queues:84:21)Emitted 'error' event on Server instance at: at emitErrorNT (node:net:1361:8) at processTicksAndRejections (node:internal/process/task_queues:83:21) { code: 'EACCES', errno: -4092, syscall: 'listen', address: '0.0.0.0', port: 3000}
- 0
- 3
- 513