我正在运行一个节点服务器守护进程,但我一直遇到这个错误。
当我运行 bash strip 来测试应用程序时,我得到TypeError: process.stdin.setRawMode is not a function.
TypeError: process.stdin.setRawMode is not a function
你能帮我找到一种方法,我可以在这个节点应用程序在后台运行时使用键盘输入吗?
我试过给我的 bash 脚本权限chmod 777 x.sh&chmod 755 x.sh
chmod 777 x.sh
chmod 755 x.sh
daemon node.js raspberry-pi
daemon ×1
node.js ×1
raspberry-pi ×1