Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🚰 部署问题反馈: 手动打包 pnpm build 、pnpm prod #5

Open
oscarklv opened this issue Apr 23, 2023 · 0 comments
Open

🚰 部署问题反馈: 手动打包 pnpm build 、pnpm prod #5

oscarklv opened this issue Apr 23, 2023 · 0 comments
Labels
question Further information is requested

Comments

@oscarklv
Copy link

问题描述 🤔

我卡在后端服务,手动打包 pnpm build 、pnpm prod

附加信息 📝

PS C:\Users\Oscar\Desktop\VScode\ChatGPT-PerfectUI-master\service> pnpm prod

[email protected] prod C:\Users\Oscar\Desktop\VScode\ChatGPT-PerfectUI-master\service
esno ./build/index.js

node:events:491
throw er; // Unhandled 'error' event
^

Error: listen EADDRINUSE: address already in use :::3002
at __node_internal_captureLargerStackTrace (node:internal/errors:490:5)
at __node_internal_uvExceptionWithHostPort (node:internal/errors:589:12)
at Server.setupListenHandle [as _listen2] (node:net:1740:16)
at listenInCluster (node:net:1788:12)
at Server.listen (node:net:1876:7)
at Function.listen (c:\Users\Oscar\Desktop\VScode\ChatGPT-PerfectUI-master\service\node_modules.pnpm\[email protected]\node_modules\express\lib\application.js:635:24)
at __defProp (c:\Users\Oscar\Desktop\VScode\ChatGPT-PerfectUI-master\service\build\index.js:285:5)
at Object. (c:\Users\Oscar\Desktop\VScode\ChatGPT-PerfectUI-master\service\build\index.js:285:80)
at Module._compile (node:internal/modules/cjs/loader:1254:14)
at Object.F (C:\Users\Oscar\Desktop\VScode\ChatGPT-PerfectUI-master\service\node_modules.pnpm@[email protected]\node_modules@esbuild-kit\cjs-loader\dist\index.js:1:941)
at Module.load (node:internal/modules/cjs/loader:1117:32)
at Module._load (node:internal/modules/cjs/loader:958:12)
at ModuleJob.run (node:internal/modules/esm/module_job:194:25)
Emitted 'error' event on Server instance at:
at emitErrorNT (node:net:1767:8)
at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
code: 'EADDRINUSE',
errno: -4091,
syscall: 'listen',
address: '::',
port: 3002
}

Node.js v18.16.0
 ELIFECYCLE  Command failed with exit code 1.

PS C:\Users\Oscar\Desktop\VScode\ChatGPT-PerfectUI-master\service> pnpm start

[email protected] start C:\Users\Oscar\Desktop\VScode\ChatGPT-PerfectUI-master\service
esno ./src/index.ts

node:events:491
throw er; // Unhandled 'error' event
^

Error: listen EADDRINUSE: address already in use :::3002
at __node_internal_captureLargerStackTrace (node:internal/errors:490:5)
at __node_internal_uvExceptionWithHostPort (node:internal/errors:589:12)
at Server.setupListenHandle [as _listen2] (node:net:1740:16)
at listenInCluster (node:net:1788:12)
at Server.listen (node:net:1876:7)
at Function.listen (c:\Users\Oscar\Desktop\VScode\ChatGPT-PerfectUI-master\service\node_modules.pnpm\[email protected]\node_modules\express\lib\application.js:635:24)
at (c:\Users\Oscar\Desktop\VScode\ChatGPT-PerfectUI-master\service\src\index.ts:86:5)
at Object. (c:\Users\Oscar\Desktop\VScode\ChatGPT-PerfectUI-master\service\src\index.ts:86:80)
at Module._compile (node:internal/modules/cjs/loader:1254:14)
at Object.F (C:\Users\Oscar\Desktop\VScode\ChatGPT-PerfectUI-master\service\node_modules.pnpm@[email protected]\node_modules@esbuild-kit\cjs-loader\dist\index.js:1:941)
at Module.load (node:internal/modules/cjs/loader:1117:32)
at Module._load (node:internal/modules/cjs/loader:958:12)
at ModuleWrap. (node:internal/modules/esm/translators:169:29)
at ModuleJob.run (node:internal/modules/esm/module_job:194:25)
Emitted 'error' event on Server instance at:
at emitErrorNT (node:net:1767:8)
at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
code: 'EADDRINUSE',
errno: -4091,
syscall: 'listen',
address: '::',
port: 3002
}

Node.js v18.16.0
 ELIFECYCLE  Command failed with exit code 1.

@oscarklv oscarklv added the question Further information is requested label Apr 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant