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

跑步起来,npm run dev #110

Closed
ShuangDa1018 opened this issue Jul 8, 2021 · 2 comments
Closed

跑步起来,npm run dev #110

ShuangDa1018 opened this issue Jul 8, 2021 · 2 comments

Comments

@ShuangDa1018
Copy link

PS D:\react\react-master> npm run dev

react-admin@0.1.0 dev D:\tanshuang\react\react-master
webpack-dev-server --config ./scripts/webpack.dev.config.js

events.js:292
throw er; // Unhandled 'error' event

@ShuangDa1018
Copy link
Author

react-admin@0.1.0 dev D:\tanshuang\react\react-master
webpack-dev-server --config ./scripts/webpack.dev.config.js

events.js:292
throw er; // Unhandled 'error' event
^

Error: listen EADDRINUSE: address already in use 127.0.0.1:8888
at Server.setupListenHandle [as _listen2] (net.js:1313:16)
at listenInCluster (net.js:1361:12)
at GetAddrInfoReqWrap.doListen [as callback] (net.js:1498:7)
at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:68:8)
Emitted 'error' event on Server instance at:
at emitErrorNT (net.js:1340:8)
at processTicksAndRejections (internal/process/task_queues.js:84:21) {
code: 'EADDRINUSE',
errno: 'EADDRINUSE',
syscall: 'listen',
address: '127.0.0.1',
port: 8888
}
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! react-admin@0.1.0 dev: webpack-dev-server --config ./scripts/webpack.dev.config.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the react-admin@0.1.0 dev script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\TWX1039639\AppData\Roaming\npm-cache_logs\2021-07-08T04_26_52_010Z-debug.log

@duxianwei520
Copy link
Owner

看提示好像是你自己的端口被占用了吧@ShuangDa1018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants