events.js:160
throw er; // Unhandled 'error' event
^
Error: listen EADDRINUSE :::8081
at Object.exports._errnoException (util.js:1020:11)
at exports._exceptionWithHostPort (util.js:1043:20)
at Server._listen2 (net.js:1258:14)
at listen (net.js:1294:10)
at Server.listen (net.js:1390:5)
This problem is caused by the occupied port of 99.99%, such as the 8081 port mentioned above, so if you encounter this problem, please don’t be nervous, just find the corresponding port and close the application! How to check which application is used according to the port, this network a search a lot, here is not repeated! If you have any difficulty, please leave a message.)
Actually it’s not just react, as long as you use NPM to package, ports being occupied will report this error.
Read More:
- solve events.js:174 Throw er; / / error reported by unhandled ‘error’ event
- Events.js:167 throw er appears when starting node service under linux; // Unhandled ‘error’ event solution
- Error code: events.js:183 throw er; // Unhandled’error’ event—solution
- events.js:160 throw er; // Unhandled ‘error’ event ^ Error: write after end at Serv
- An error is reported when using react app rewired to start the react project
- [W xx:xx:xx.xxx NotebookApp] 404 GET/static/components/react/react-dom.production.min.js (::1)
- Error: connect econnreused 0.0.0.0:443 is reported when executing the trunk unbox react
- webstorm npm install –save –save-exact –loglevel error react react-dom react-scripts has failed.
- 【react】 tsconfig.json Configuration of react JSX error reporting solution in
- ./src/App.js Line 13:11: Parsing error: Unterminated JSX contents (react)
- When react devtools is enabled, an error is reported for the project
- Resolve the problem of “event ID 4107” or “event ID 11” errors recorded in the application logs of windows and windows server
- react Error: Unable to resolve module mobx-react
- ERROR in static/js/app.xxxxxxx.js from UglifyJs Unexpected token: operator (>)
- Failed to load plugin react: cannot find module ‘eslint plugin react’ appears when running Vue project‘
- [Solved] VUE3.0 Warning: Added non-passive event listener to a scroll-blocking ‘mousewheel‘ event如何解决
- react Error: Objects are not valid as a React child (found: object with keys {username, password})
- [_ Note] Vue.js reported an error: Cannot read property’validate’ of undefined”
- After vscode installs ts, TSC compiles and generates JS, and an error is reported (repeated variables, etc.)
- Viewing events.out.tfevents file visually in tensorboard