TypeError: process.stdout.clearLine is not a function
at Socket.passwordListener (F:\laji\reliable-master\bin\reliable-master-adduser:82:20)
at emitOne (events.js:101:20)
at Socket.emit (events.js:189:7)
at readableAddChunk (_stream_readable.js:176:18)
at Socket.Readable.push (_stream_readable.js:134:10)
at Pipe.onread (net.js:551:20)
Macaca Version:
Macaca Doctor Logs:
Operate System:win7
Programming Language:node
@CodeToSurvive1 我按照 https://testerhome.com/topics/6318 实现,成功启动了reliable-master
$ make server ./bin/reliable-master server -p 3333 -w 1 --verbose
而且我启动了mongodb,reliable数据也恢复进去了。也启动了redis。
但是我在执行完make adduser之后数据库并没有我创建的用户信息,登录网页也提示该用户不存在。
$ make adduser ./bin/reliable-master adduser y
Do you want create an account? [Y/N]y
User Id: admin1 admin1
Email address: admin1@qq.com admin1@qq.com
Password: Admin123 Admin123
isAdmin [Y/N]: F:\laji\reliable-master\bin\reliable-master-adduser:82 process.stdout.clearLine(); ^
TypeError: process.stdout.clearLine is not a function at Socket.passwordListener (F:\laji\reliable-master\bin\reliable-master-adduser:82:20) at emitOne (events.js:101:20) at Socket.emit (events.js:189:7) at readableAddChunk (_stream_readable.js:176:18) at Socket.Readable.push (_stream_readable.js:134:10) at Pipe.onread (net.js:551:20)
但是我直接在网页上注册用户可以注册成功