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
Just an FYI in case anyone else is wondering why they are getting an error such as:
Error: listen EADDRINUSE: address already in use :::5000
when running the e02 starter code with npm test.
If you have the AirPlay Receiver service (built in to macOS) turned on, then macOS is already using port 5000 at all times. It can be turned off in General > AirDrop and Handoff on macOS 13 or in the Sharing preference pane on older versions. Or you could just change the port in package.json but that might break the autograder, idk.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Just an FYI in case anyone else is wondering why they are getting an error such as:
Error: listen EADDRINUSE: address already in use :::5000
when running the e02 starter code with
npm test
.If you have the AirPlay Receiver service (built in to macOS) turned on, then macOS is already using port 5000 at all times. It can be turned off in General > AirDrop and Handoff on macOS 13 or in the Sharing preference pane on older versions. Or you could just change the port in
package.json
but that might break the autograder, idk.Beta Was this translation helpful? Give feedback.
All reactions