0

看来我的控制台没有登录到终端。

echo 'console.log("text"):' > test.js
node test.js # nothing shown
node -e 'console.log("text"):' # nothing shown

我 aptitude 重新安装了节点,问题仍然存在。npm 列表为空。到目前为止,freenode#node.js 和谷歌都没有帮助。谢谢!

编辑

node --debug bin/sync.js # not giving anything either

编辑

sys.puts 也不起作用:(

npm install sys
node -e 'sys.puts("hola")'

编辑

也尝试使用 util 格式,但也没有运气

util.format('%s:%s', 'foo');

编辑

从github重新安装后,它再次工作。如果可重现到节点邮件列表,我将进行更多调查并报告错误。谢谢您的帮助!我会在 8 小时内回答我自己的问题,因为我没有足够的声誉 :)

4

1 回答 1

0

不应该

'console.log("text"):'

'console.log("text");'

于 2013-02-14T12:35:38.190 回答