Kibana 5.0.2 has dependency on an old version of node = www/node4. I changed Makefile to contain RUN_DEPENDS= node>=0.8.0:www/node Kibana is up and running with Node v7.8.0
A commit references this bug: Author: tj Date: Thu Apr 6 01:09:56 UTC 2017 New revision: 437843 URL: https://svnweb.freebsd.org/changeset/ports/437843 Log: Move to www/node from node4. PR: 218250 Changes: head/textproc/kibana5/Makefile
Fixed.