Ucpnode_err.log Error: Cannot find module 'ini'

Asterisk Version: 11.21.2
User Control Panel:

I can login to User Control Panel and select any option without any error
But /var/log/asterisk/ucpnode_err.log keeps growing in size.
I’m getting the following error repeatedly

2017-11-24 01:15 -08:00: Error: Cannot find module 'ini’
at Function.Module._resolveFilename (module.js:336:15)
at Function.Module._load (module.js:278:25)
at Module.require (module.js:365:17)
at require (module.js:384:17)
at Object. (/var/www/html/admin/modules/ucpnode/node/lib/freepbx.js:9:9)
at Module._compile (module.js:460:26)
at Object.Module._extensions…js (module.js:478:10)
at Module.load (module.js:355:32)
at Function.Module._load (module.js:310:12)
at Module.require (module.js:365:17)

How do I fix this error and as a temporary solution can I simply delete ucpnode_err.log to recover disk space?


I was able to fixed the issue by reinstalling UCP Node Server
The /var/log/asterisk/ucpnode_err.log is now approx 15.8 GB.
Can I simply delete this file?
Do I need to shut down “fwconsole stop” before deleting it?