native-notifier crashes on Ubuntu
See original GitHub issueDescription
So, Brunch doesn’t (on Ubuntu 16.04) pick up filesystem changes directly. That’s fixable with watchers: {usePolling: true}
.
What isn’t fixable is that if a *.scss
file throws an error during compilation, it crashes brunch in watch mode.
Expected behavior
When I run node node_modules/brunch/bin/brunch w -d
and I have a source file with an error in it, Brunch should log the error but not crash.
Actual behavior
It crashes:
20:50:51 - info: compiled 56 files into 3 files, copied 167 in 9.7 sec
brunch:watch change <snip> +9m
brunch:list Reading <snip> +1ms
brunch:pipeline Compiling <snip>@ sass-brunch +7ms
brunch:list Compiled <snip> +21ms
20:59:43 - error: Compiling of <snip> failed. Error: Error: Undefined variable: "$font-size-small".
on line 449 of <snip>
>> font-size:$font-size-small;
------------------^
Stack trace was suppressed. Run with `LOGGY_STACKS=1` to see the trace.
events.js:160
throw er; // Unhandled 'error' event
^
Error: spawn notify-send ENOENT
at exports._errnoException (util.js:1018:11)
at Process.ChildProcess._handle.onexit (internal/child_process.js:193:32)
at onErrorNT (internal/child_process.js:367:16)
at _combinedTickCallback (internal/process/next_tick.js:80:11)
at process._tickCallback (internal/process/next_tick.js:104:9)
Environment
- Brunch: 2.10.9
- Node.js: 6.10.3
- NPM: 3.10.10
- Operating system: Ubuntu 16.04
brunch config contents
watcher: {
usePolling: true
}
Issue Analytics
- State:
- Created 6 years ago
- Comments:6 (1 by maintainers)
Top Results From Across the Web
DebuggingSystemCrash - Community Help Wiki
If a kernel crash completely locks the system, take a look at https://wiki.ubuntu.com/KernelTeam/CrashdumpRecipe.
Read more >Getting "System program problem detected" pops up regularly ...
Ubuntu has an error reporting system called apport which tries to catch all program crashes in the background and report them to help...
Read more >Frequent freezes and crashes in Ubuntu 20.04
Hi,I have very frequent crashes (rendering pycharm unusable) with a new machine that runs on ubuntu 20.04. I'm on kernel 5.4.0-29-generic...
Read more >RStudio crashes on Ubuntu 20.04 · Issue #6782 - GitHub
We also hope to fix this with the v1.3 release of RStudio. As an aside: I cannot reproduce this crash in my Ubuntu...
Read more >Mysql on Ubuntu crashing periodically [duplicate]
Note the pattern: 2021-02-23T08:35:08.249856Z 18 [Note] Aborted connection 18 to db: 'dbname' user: 'root' host: 'localhost' (Got timeout ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I updated my comment so you are probably seeing the original comment.
Hey guys, thanks for the report.
I believe
notify-send
is missing on your systems, right?