GithubHelp home page GithubHelp logo

Error: listen EADDRINUSE: address already in use :::8989 at Server.setupListenHandle [as _listen2] (net.js:1279:14) about page-skeleton-webpack-plugin HOT 7 OPEN

samsonCao avatar samsonCao commented on June 13, 2024
Error: listen EADDRINUSE: address already in use :::8989 at Server.setupListenHandle [as _listen2] (net.js:1279:14)

from page-skeleton-webpack-plugin.

Comments (7)

katoto avatar katoto commented on June 13, 2024

+1 无论如何修改端口号,都是这个错误

from page-skeleton-webpack-plugin.

sineava avatar sineava commented on June 13, 2024

这个issue过了这么久没人解决吗

from page-skeleton-webpack-plugin.

debug-null avatar debug-null commented on June 13, 2024

我也是遇到这个问题。

from page-skeleton-webpack-plugin.

AnselDai avatar AnselDai commented on June 13, 2024

+1,检查端口明明没有占用也会报这个错误

from page-skeleton-webpack-plugin.

luoguoxiong avatar luoguoxiong commented on June 13, 2024

我也遇到这个问题?还维护吗

from page-skeleton-webpack-plugin.

buhanqiu avatar buhanqiu commented on June 13, 2024

// 修改node_modules/page-skeleton-webpack-plugin/src/skeletonPlugin.js
if (!this.server) {
const server = this.server = new Server(this.options) // eslint-disable-line no-multi-assign
server.listen().catch(err => server.log.warn(err))
}

虽然可以解决这个问题 但是这个插件还有其他问题 不建议使用

from page-skeleton-webpack-plugin.

bella0929 avatar bella0929 commented on June 13, 2024

// 修改node_modules/page-skeleton-webpack-plugin/src/skeletonPlugin.js 下的SkeletonPlugin.prototype.createServer
SkeletonPlugin.prototype.createServer = function () {
// const server = this.server = new Server(this.options)
// server.listen().catch(err => server.log.warn(err))
//原来上面👆的这两行注释掉
//加上下面的代码👇
if (!this.server) {
const server = this.server = new Server(this.options) // eslint-disable-line no-multi-assign
server.listen().catch(err => server.log.warn(err))
}

from page-skeleton-webpack-plugin.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.