【发布时间】:2019-04-02 15:31:37
【问题描述】:
我正在运行节点服务器守护程序,但我一直遇到此错误。
当我运行 bash strip 来测试应用程序时,我得到了TypeError: process.stdin.setRawMode is not a function。
您能帮我找到一种在后台运行此节点应用程序的情况下使用键盘输入的方法吗?
我已尝试授予我的 bash 脚本权限 chmod 777 x.sh 和 chmod 755 x.sh
【问题讨论】:
标签: node.js raspberry-pi daemon