2

尝试打开任何 *.dev 项目时会引发异常:

Error: connect ENOENT
Error: connect ENOENT
    at errnoException (net.js:901:11)
    at Object.afterConnect [as oncomplete] (net.js:892:19)

战俘日志:

[Thu Nov 14 2013 12:18:30 GMT+0400 (MSK)] DEBUG nack worker 6521 spawned
[Thu Nov 14 2013 12:18:33 GMT+0400 (MSK)] WARNING Cannot read termcap database;
[Thu Nov 14 2013 12:18:33 GMT+0400 (MSK)] WARNING using dumb terminal settings.
[Thu Nov 14 2013 12:18:39 GMT+0400 (MSK)] WARNING /Users/nr/Library/Application Support/Pow/Versions/0.4.1/node_modules/nack/lib/nack/server.rb:87:in `eof?': closed stream (IOError)
[Thu Nov 14 2013 12:18:39 GMT+0400 (MSK)] WARNING   from /Users/nr/Library/Application Support/Pow/Versions/0.4.1/node_modules/nack/lib/nack/server.rb:87:in `block (2 levels) in start'
[Thu Nov 14 2013 12:18:39 GMT+0400 (MSK)] WARNING   from /Users/nr/Library/Application Support/Pow/Versions/0.4.1/node_modules/nack/lib/nack/server.rb:86:in `each'
[Thu Nov 14 2013 12:18:39 GMT+0400 (MSK)] WARNING   from /Users/nr/Library/Application Support/Pow/Versions/0.4.1/node_modules/nack/lib/nack/server.rb:86:in `block in start'
[Thu Nov 14 2013 12:18:39 GMT+0400 (MSK)] WARNING   from /Users/nr/Library/Application Support/Pow/Versions/0.4.1/node_modules/nack/lib/nack/server.rb:66:in `loop'
[Thu Nov 14 2013 12:18:39 GMT+0400 (MSK)] WARNING   from /Users/nr/Library/Application Support/Pow/Versions/0.4.1/node_modules/nack/lib/nack/server.rb:66:in `start'
[Thu Nov 14 2013 12:18:39 GMT+0400 (MSK)] WARNING   from /Users/nr/Library/Application Support/Pow/Versions/0.4.1/node_modules/nack/lib/nack/server.rb:13:in `run'
[Thu Nov 14 2013 12:18:39 GMT+0400 (MSK)] WARNING   from /Users/nr/Library/Application Support/Pow/Versions/0.4.1/node_modules/nack/bin/nack_worker:4:in `<main>'
[Thu Nov 14 2013 12:18:40 GMT+0400 (MSK)] DEBUG nack worker exited

版本:

  • 战俘 0.4.1
  • ruby 2.0.0p247(2013-06-27 修订版 41674)[x86_64-darwin12.4.0]
  • 导轨 4.0.1
  • 节点 v0.10.17(也使用 v0.10.18 进行了测试)

系统:

  • OSX 10.9(小牛)

试过:

  • 重新安装 Pow:没有帮助
  • 重新安装 Node.JS:没有帮助
  • 降级到 Pow 0.4.0 和 0.3.2:没有帮助
  • 降级 Node.JS:没有帮助
  • 系统重启:没有运气

另外,GitHub 上的问题:https ://github.com/37signals/pow/issues/422

有什么建议么?提前致谢

4

3 回答 3

1

看起来我已经找到了解决方法(对于我的情况)。我刚刚在 .powconfig 中评论了这一行:

#export POW_TIMEOUT=999999999

如果取消注释该行,则服务器无法启动。我不确定为什么会发生这种情况,但是使用带注释的行服务器可以正常工作。我建议你尝试默认配置。现在我的日志如下所示:

[Fri Nov 15 2013 17:24:29 GMT+0400 (MSK)] DEBUG nack worker 40864 spawned
[Fri Nov 15 2013 17:24:32 GMT+0400 (MSK)] WARNING Cannot read termcap database;
[Fri Nov 15 2013 17:24:32 GMT+0400 (MSK)] WARNING using dumb terminal settings.
[Fri Nov 15 2013 17:24:40 GMT+0400 (MSK)] DEBUG nack worker 40894 spawned
[Fri Nov 15 2013 17:24:43 GMT+0400 (MSK)] WARNING Cannot read termcap database;
[Fri Nov 15 2013 17:24:43 GMT+0400 (MSK)] WARNING using dumb terminal settings.
于 2013-11-15T13:29:50.847 回答
1

请注意,此错误也可能是由于您的浏览器试图通过 https 访问 pow .dev 页面(只需将其更改为 http)。仅供任何碰巧为该问题祈祷的人参考。

于 2015-06-11T21:00:20.680 回答
0

我会在你的 shell 中检查 $TERM 的值。“回声 $TERM”

听起来你在那里有一个时髦的价值,或者缺少你在那里拥有的价值的文件。

请参阅:突然我收到错误“无法读取 termcap 数据库”

于 2013-11-14T13:11:12.340 回答