Thursday, 24 January 2019

node.js hangup on writing to console on win

Node.js completely hang up on writing to console at some stage in the app lifecycle. It happens only on windows. On linux all fine. But on win in any console e.g. cygwin, cmd, powershell it just hang up and do nothing on console.log or process.stdout.write.

It happens in https://github.com/nuxt/create-nuxt-app in post install stage hook . https://github.com/nuxt/create-nuxt-app/blob/master/sao.js#L208 Any write to stdout placed here will hang application at this stage on windows.

What could be a reason for this behavior and how to make it work ? :)



from node.js hangup on writing to console on win

No comments:

Post a Comment