Looks like @psychobunny used the wrong paths for the js scripts. For now you can run NodeBB in development mode with ./nodebb watch
or you can update to this https://github.com/designcreateplay/NodeBB/commit/c8e423e9cf86b74c15aa87d334f8dffc2c6e6074
https://github.com/psychobunny/nodebb-plugin-desktop-notifications/blob/master/library.js#L8
Those paths are not existing and when NodeBB tries to minimize them it crashes.
Full list of scripts that went into the minify code
[ '/home/baris/node-forum/public/vendor/jquery/js/jquery.js',
'/home/baris/node-forum/public/vendor/jquery/js/jquery-ui-1.10.3.custom.min.js',
'/home/baris/node-forum/public/vendor/jquery/js/jquery.timeago.js',
'/home/baris/node-forum/public/vendor/jquery/js/jquery.form.js',
'/home/baris/node-forum/public/vendor/bootstrap/js/bootstrap.min.js',
'/home/baris/node-forum/public/vendor/requirejs/require.js',
'/home/baris/node-forum/public/vendor/bootbox/bootbox.min.js',
'/home/baris/node-forum/public/vendor/tinycon/tinycon.js',
'/home/baris/node-forum/public/src/app.js',
'/home/baris/node-forum/public/src/templates.js',
'/home/baris/node-forum/public/src/ajaxify.js',
'/home/baris/node-forum/public/src/translator.js',
'/home/baris/node-forum/public/src/utils.js',
'/home/baris/node-forum/public/plugins/nodebb-plugin-desktop-notifications/vendor/notify/notify.js',
'/home/baris/node-forum/public/plugins/nodebb-plugin-desktop-notifications/lib/main.js' ]