当我在 BuildFireSDK 中尝试使用命令“buildfire run”时,出现错误:
buildfire 运行
Server running on [::]:3030
error { Error: Command failed: open http://localhost:3030/pluginTester/index.html
open: ioctl(VT_GETSTATE): Inappropriate ioctl for device
at ChildProcess.exithandler (child_process.js:275:12)
at emitTwo (events.js:126:13)
at ChildProcess.emit (events.js:214:7)
at maybeClose (internal/child_process.js:925:16)
at Socket.stream.socket.on (internal/child_process.js:346:11)
at emitOne (events.js:116:13)
at Socket.emit (events.js:211:7)
at Pipe._handle.close [as _onclose] (net.js:567:12)
killed: false,
code: 4,
signal: null,
cmd: 'open http://localhost:3030/pluginTester/index.html' }
stdout
stderr open: ioctl(VT_GETSTATE): Inappropriate ioctl for device
我不确定错误不适当的 ioctl 甚至意味着什么。我还检查了 /pluginTester/index.html 是否存在并且确实存在,因此 bash 只需在我的浏览器中运行代码就应该是一件简单的事情。
编辑:看起来我仍然可以通过手动访问 localhost:3030 来访问 buildfire。但是,不确定此错误是否会在将来引起问题。