node.js - console.log does not output anything -
it seems console not log terminal.
echo 'console.log("text"):' > test.js node test.js # nil shown node -e 'console.log("text"):' # nil shown i aptitude reinstalled node , issue persists. npm list empty. freenode#node.js , google have not helped far. thanks!
edit
node --debug bin/sync.js # not giving either edit
sys.puts not working either :(
npm install sys node -e 'sys.puts("hola")' edit
tried util format, no luck either
util.format('%s:%s', 'foo'); edit
after reinstalling github worked again. investigate more , study bug if reproducable node mailing list. help! i'll reply own question in 8 hours because don't have plenty reputation :)
shouldn't
'console.log("text"):'
be
'console.log("text");'
node.js
No comments:
Post a Comment