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

Error: write EPIPE 频繁出现的问题 #1313

Open
ellis-s opened this issue Jul 10, 2020 · 2 comments
Open

Error: write EPIPE 频繁出现的问题 #1313

ellis-s opened this issue Jul 10, 2020 · 2 comments

Comments

@ellis-s
Copy link

ellis-s commented Jul 10, 2020

  • 操作系统: macOS 10.13.6
  • Node版本: v10.16.0
  • FIS版本: "fis3": "^3.4.43"
  • 依赖插件:
"devDependencies": {
    "fis-parser-less3": "^1.0.2",
    "js-yaml": "^3.13.1",
    "mockjs": "^1.0.1-beta3",
    "moment": "^2.22.1",
    "redis": "^2.8.0"
  },
  "dependencies": {
    "bootstrap": "^3.4.1",
    "fis-optimizer-clean-css": "0.0.12",
    "fis-optimizer-svgo": "0.0.2",
    "fis-optimizer-tinify": "^1.0.9",
    "fis-optimizer-uglify-js": "^0.2.3",
    "fis-parser-jdists": "^2.2.3",
    "fis-parser-less": "^0.1.3",
    "fis-parser-less-2.x": "^0.1.4",
    "fis-postprocessor-autoprefixer": "0.0.5",
    "fis3": "^3.4.43",
    "h5toast": "0.0.6",
    "jhtmls": "^1.2.2",
    "jquery": "^3.5.1",
    "slick-carousel": "^1.8.1",
    "zepto": "^1.2.0"
  }
  • 终端日志
{ Error: write EPIPE
    at WriteWrap.afterWrite [as oncomplete] (net.js:788:14) errno: 'EPIPE', code: 'EPIPE', syscall: 'write' }
/Users/xxx/myProject/node_modules/fis3-command-release/lib/livereload.js:103
        if (err.message !== 'read ECONNRESET') throw err;


Error: write EPIPE
    at WriteWrap.afterWrite [as oncomplete] (net.js:788:14)
  • 问题描述:

最近频繁遇到这个问题(以前也是遇到,只不过现在忍不住了。。。),比较多的情况是在修改 less 的时候出现的。每次出现后,无论本地代码如何变化,浏览器上 localhost:8080 代码就不再更新,刷新浏览器没用。因为本地的 liverelaod.js 文件直接抛出了 ERROR。 没办法,只能关闭终端,重启项目。非常浪费时间,和 webpack 相比起来,实在是不友好!希望大佬可以抽时间优化下!

  • 解决方案:

目前每次遇到这个问题,只能关闭项目,重新启动 npm run dev。

@ellis-s
Copy link
Author

ellis-s commented Jul 14, 2020

@BaiduFE 麻烦看下这个问题~ 谢谢!

@ellis-s
Copy link
Author

ellis-s commented Jul 14, 2020

有没有哪位大佬遇到过这个问题?

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

1 participant