Closed androozhang closed 2 months ago
Thank you for your contribution. We will check and reply to you as soon as possible.
Error: listen EADDRINUSE: address already in use :::8081
It looks like that port has already been used.
If you want to exit all processes using port 8081, run this command in your shell. :)
$ lsof -ti tcp:8081 | xargs kill -9
Im getting this error where pnpm dev doesn't finish. I'm new to browser extension, but is this how it's suppose to be?
@androozhang In the dev mode, it is normal for changes in files to be detected and rebuilt using persistence, so everything is working as intended.
Describe the bug
node:events:492 throw er; // Unhandled 'error' event ^
Error: listen EADDRINUSE: address already in use :::8081 at Server.setupListenHandle [as _listen2] (node:net:1872:16) at listenInCluster (node:net:1920:12) at Server.listen (node:net:2008:7) at new WebSocketServer (/Users/droo/Desktop/github/curate-extension/node_modules/.pnpm/ws@8.17.1/node_modules/ws/lib/websocket-server.js:102:20) at initReloadServer (/Users/droo/Desktop/github/curate-extension/packages/hmr/dist/lib/initReloadServer.js:13:21) at Object. (/Users/droo/Desktop/github/curate-extension/packages/hmr/dist/lib/initReloadServer.js:36:1)
at Module._compile (node:internal/modules/cjs/loader:1376:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1435:10)
at Module.load (node:internal/modules/cjs/loader:1207:32)
at Module._load (node:internal/modules/cjs/loader:1023:12)
Emitted 'error' event on WebSocketServer instance at:
at Server.emit (node:events:514:28)
at emitErrorNT (node:net:1899:8)
at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
code: 'EADDRINUSE',
errno: -48,
syscall: 'listen',
address: '::',
port: 8081
}
To Reproduce Steps to reproduce the behavior:
Expected behavior pnpm dev works correctly
Screenshots If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Additional context none