[GH-ISSUE #115] throw er; // Unhandled 'error' event #84

Closed
opened 2026-03-03 16:04:18 +03:00 by kerem · 2 comments
Owner

Originally created by @KorroQln on GitHub (Mar 8, 2018).
Original GitHub issue: https://github.com/mthenw/frontail/issues/115

C:\Users\Servr>frontail C:\log\log.1520503819
events.js:160
throw er; // Unhandled 'error' event
^

Error: spawn tail ENOENT
at exports._errnoException (util.js:1022:11)
at Process.ChildProcess._handle.onexit (internal/child_process.js:193:32)
at onErrorNT (internal/child_process.js:359:16)
at _combinedTickCallback (internal/process/next_tick.js:74:11)
at process._tickCallback (internal/process/next_tick.js:98:9)
at Module.runMain (module.js:606:11)
at run (bootstrap_node.js:394:7)
at startup (bootstrap_node.js:149:9)
at bootstrap_node.js:509:3

Originally created by @KorroQln on GitHub (Mar 8, 2018). Original GitHub issue: https://github.com/mthenw/frontail/issues/115 C:\Users\Servr>frontail C:\log\log.1520503819 events.js:160 throw er; // Unhandled 'error' event ^ Error: spawn tail ENOENT at exports._errnoException (util.js:1022:11) at Process.ChildProcess._handle.onexit (internal/child_process.js:193:32) at onErrorNT (internal/child_process.js:359:16) at _combinedTickCallback (internal/process/next_tick.js:74:11) at process._tickCallback (internal/process/next_tick.js:98:9) at Module.runMain (module.js:606:11) at run (bootstrap_node.js:394:7) at startup (bootstrap_node.js:149:9) at bootstrap_node.js:509:3
kerem closed this issue 2026-03-03 16:04:18 +03:00
Author
Owner

@mthenw commented on GitHub (Mar 12, 2018):

Hey @hazimaqlan,

looks like you are running frontail on Windows where there is no tail command. Right now that's the limitation.

<!-- gh-comment-id:372306416 --> @mthenw commented on GitHub (Mar 12, 2018): Hey @hazimaqlan, looks like you are running frontail on Windows where there is no `tail` command. Right now that's the limitation.
Author
Owner

@MDecker-MobileComputing commented on GitHub (Dec 31, 2019):

I was able to run frontail on Windows 10 using the Bash shell on Ubuntu provided by the "Windows Subsystem for Linux (WSL)".

For instructions on how to install WSL you can refer to this article.

You also need to make a separate install of Node.js in this Bash shell which can be done as follows (see also here):

curl -sL https://deb.nodesource.com/setup_12.x | sudo -E bash -
sudo apt-get install -y nodejs
<!-- gh-comment-id:569985129 --> @MDecker-MobileComputing commented on GitHub (Dec 31, 2019): I was able to run frontail on Windows 10 using the Bash shell on Ubuntu provided by the "Windows Subsystem for Linux (WSL)". For instructions on how to install WSL you can refer to [this article](https://www.howtogeek.com/249966/how-to-install-and-use-the-linux-bash-shell-on-windows-10/). You also need to make a separate install of Node.js in this Bash shell which can be done as follows (see also [here](https://medium.com/hackernoon/running-nodejs-on-linux-on-windows-88bd12993bae)): ```` curl -sL https://deb.nodesource.com/setup_12.x | sudo -E bash - sudo apt-get install -y nodejs ````
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/frontail#84
No description provided.