N
N
Nyakator2016-04-19 13:43:09
Node.js
Nyakator, 2016-04-19 13:43:09

How to fix an error when executing a small script from a nodges tutorial?

Started learning Nodgies. I took a small script from one article pastebin.com/bmKpn6EK changed only line 6, since I run it in Windows, it was "var tail = spawn('tail', ['-f', '/var/log/nginx/access.log ']);"
Created access.log file.
Error text from console pastebin.com/A5vcfS2t

Answer the question

In order to leave comments, you need to log in

1 answer(s)
T
tex0, 2016-04-19
@tex0

I suspect that there is no tail = command in Windows;
we look at how a similar problem was solved in these Internets of yours
stackoverflow.com/questions/18334181/spawn-on-node...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question