fis3 icon indicating copy to clipboard operation
fis3 copied to clipboard

fis3 relase -L 启用 livereload 时在 node 6 里面提示 process.EventEmitter is deprecated.

Open sunchenc opened this issue 9 years ago • 14 comments

测试环境:win7 64位 node 6.2 复现步骤:fis3 relase -L 启用 livereload 时在 node 6 里面提示 process.EventEmitter is deprecated.

sunchenc avatar May 27 '16 08:05 sunchenc

@sunchenc 同样的问题,包括环境和 node 版本,有解决方法了吗?

jasonliao avatar Jul 20 '16 13:07 jasonliao

其实这个只是个提示吧

Jason Liao [email protected]于2016年7月20日周三 下午9:01写道:

@sunchenc https://github.com/sunchenc 同样的问题,包括环境和 node 版本,有解决方法了吗?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/fex-team/fis3/issues/742#issuecomment-233941713, or mute the thread https://github.com/notifications/unsubscribe-auth/AAmhm5aXgpvg5sBK9aYXsHIRiiMJvPytks5qXhwCgaJpZM4IoRDP .

oxUnd avatar Jul 20 '16 23:07 oxUnd

@xiangshouding #1081 跟这个应该是一个问题。麻烦看看哟。应该是这个问题导致无法创建liveload服务,没法创建socket通讯,导致本地文件修改后,浏览器无法自动刷新

For-me avatar Mar 14 '17 03:03 For-me

看到这个位置已经是require('events')了: https://github.com/fex-team/fis3/blob/ffecd37c520e928853b79a5ce633d5213be87b2d/lib/fis.js#L83

fis.emitter = new(require('events').EventEmitter);

这个 warning 是谁报的?

g8up avatar May 30 '17 12:05 g8up

@g8up 看看用的是哪个 fis3 ?

oxUnd avatar May 31 '17 01:05 oxUnd

问题 同上。 node v6.9.2 警告信息:(node:97403) DeprecationWarning: process.EventEmitter is deprecated. Use require('events') instead. 无法livereload

lzr900515 avatar Jul 27 '17 07:07 lzr900515

node v6.9.1 fis3 v3.4.34 昨天还好好的今天突然也报这个问题了~~ (node:5360) DeprecationWarning: process.EventEmitter is deprecated. Use require('events') instead. 咋整呀~

liyoy avatar Aug 22 '17 05:08 liyoy

@xiangshouding 大佬,这个issue还是无法解决么?

For-me avatar Sep 05 '17 09:09 For-me

没解决么?

oxUnd avatar Sep 06 '17 02:09 oxUnd

我这边已经更新到最新版本。直接执行fis3 release -L (node:5332) DeprecationWarning: process.EventEmitter is deprecated. Use require('events') instead 一样的会抛出这个warning然后阻断

For-me avatar Sep 08 '17 09:09 For-me

系统版本:w10,node版本:6.5.0

For-me avatar Sep 08 '17 09:09 For-me

同样错误有没有解决方案,这个只是警告提示不影响功能 node版本:6.10.0 (node:12200) DeprecationWarning: process.EventEmitter is deprecated. Use require('events') instead.

a526672351 avatar Sep 13 '17 07:09 a526672351

同样的报错,DeprecationWarning: process.EventEmitter is deprecated. Use require('events') instead. 但是可以先安装一个live-server,然后用当前的server来代替fis3的内置server。

zjZeng avatar Nov 07 '17 03:11 zjZeng

Mac 下也经常会报错。我换成了自己实现 livereload。 https://github.com/onface/fis-livereload

nimoc avatar Oct 11 '18 02:10 nimoc