You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"While deploying my MERN stack project using the Netlify CLI, I encountered an unexpected termination with the error EADDRINUSE. The CLI terminated because the address on port 5200 was already in use. This issue seems to be related to the Netlify CLI itself rather than my application."
Error details:
Error: Netlify CLI has terminated unexpectedly
This is a problem with the Netlify CLI, not with your application.
Error: listen EADDRINUSE: address already in use :::5200
at Server.setupListenHandle [as _listen2] (node:net:1904:16)
at listenInCluster (node:net:1961:12)
at Server.listen (node:net:2063:7)
at Function.listen (C:\Users\ibRABHIM Saber\Downloads\deploy\mernStackMilestoneProject_ITI-main\backend\node_modules\express\lib\application.js:635:24)
at Object. (C:\Users\ibRABHIM Saber\Downloads\deploy\mernStackMilestoneProject_ITI-main\backend\netlify\functions\index.js:46:5)
at Module._compile (node:internal/modules/cjs/loader:1358:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1416:10)
at Module.load (node:internal/modules/cjs/loader:1208:32)
at Function.Module._load (node:internal/modules/cjs/loader:1024:12)
at Module.require (node:internal/modules/cjs/loader:1233:19)
Steps to reproduce
Clone the repository using git clone https://github.com/ibrahimsaber1/good-reads
Navigate to the cloned repository directory.
Run the command netlify dev to start the development server.
Observe that the Netlify CLI exits with an error related to the port being in use.
Configuration
[build]
functions = "netlify/functions"
[[redirects]]
from = "/*"
to = "/.netlify/functions/index"
status = 200
Seeing this error when running the dev server for a function. First request succeeds, second request causes the error.
netlify-cli: 17.36.2
repo: https://codeberg.org/rlmcneary2/funcstache-website.git
tag to reproduce error: netlify-issue-6805
clone: git clone --branch netlify-issue-6805 https://codeberg.org/rlmcneary2/funcstache-website.git
Describe the bug
"While deploying my MERN stack project using the Netlify CLI, I encountered an unexpected termination with the error EADDRINUSE. The CLI terminated because the address on port 5200 was already in use. This issue seems to be related to the Netlify CLI itself rather than my application."
Error details:
Error: Netlify CLI has terminated unexpectedly
This is a problem with the Netlify CLI, not with your application.
Error: listen EADDRINUSE: address already in use :::5200
at Server.setupListenHandle [as _listen2] (node:net:1904:16)
at listenInCluster (node:net:1961:12)
at Server.listen (node:net:2063:7)
at Function.listen (C:\Users\ibRABHIM Saber\Downloads\deploy\mernStackMilestoneProject_ITI-main\backend\node_modules\express\lib\application.js:635:24)
at Object. (C:\Users\ibRABHIM Saber\Downloads\deploy\mernStackMilestoneProject_ITI-main\backend\netlify\functions\index.js:46:5)
at Module._compile (node:internal/modules/cjs/loader:1358:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1416:10)
at Module.load (node:internal/modules/cjs/loader:1208:32)
at Function.Module._load (node:internal/modules/cjs/loader:1024:12)
at Module.require (node:internal/modules/cjs/loader:1233:19)
Steps to reproduce
Clone the repository using git clone https://github.com/ibrahimsaber1/good-reads
Navigate to the cloned repository directory.
Run the command netlify dev to start the development server.
Observe that the Netlify CLI exits with an error related to the port being in use.
Configuration
[build]
functions = "netlify/functions"
[[redirects]]
from = "/*"
to = "/.netlify/functions/index"
status = 200
Environment
npx envinfo --system --binaries --npmPackages netlify-cli --npmGlobalPackages netlify-cli
The text was updated successfully, but these errors were encountered: