2021-07-29 vue项目启动时常见的报错
vue项目启动时常见的报错Emitted ‘error’ event on Server instance at:at emitErrorNT (net.js:1345:8)at processTicksAndRejections (internal/process/task_queues.js:80:21) {code: ‘EADDRINUSE’,errno: -4091,syscall: ‘l
vue项目启动时常见的报错
Emitted ‘error’ event on Server instance at:
at emitErrorNT (net.js:1345:8)
at processTicksAndRejections (internal/process/task_queues.js:80:21) {
code: ‘EADDRINUSE’,
errno: -4091,
syscall: ‘listen’,
address: ‘::’,
port: 8888
}
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! admin@1.0.0 dev: node --max_old_space_size=4096 build/dev-server.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the admin@1.0.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\299074\AppData\Roaming\npm-cache_logs\2021-07-29T06_42_33_183Z-debug.log
这个错误是说你的端口已经被使用了,你要关了开着这个端口的地方项目才可以正常启动,一般是你的某个项目已经使用了该端口,你把它关了或者改动这个项目的端口号
更多推荐
所有评论(0)