Object MONGODB_CONNECTION_URL has no method 'startsWith'

Sascha Müller mueller.sascha.push at gmail.com
Tue Feb 14 08:36:18 EST 2017


Hello,

I got the following error after installation.

Can someone please help?

./genieacs/bin/genieacs-cwmp

/home/genieacs/genieacs/lib/config.js:207
    } else if (name.startsWith(n + "-")) {
                    ^
TypeError: Object MONGODB_CONNECTION_URL has no method 'startsWith'
    at setConfig (/home/genieacs/genieacs/lib/config.js:207:21)
    at Object.<anonymous> (/home/genieacs/genieacs/lib/config.js:250:8)
    at Module._compile (module.js:456:26)
    at Object.Module._extensions..js (module.js:474:10)
    at Module.load (module.js:356:32)
    at Function.Module._load (module.js:312:12)
    at Module.require (module.js:364:17)
    at require (module.js:380:17)
    at Object.<anonymous> (/home/genieacs/genieacs/lib/cluster.js:21:10)
    at Module._compile (module.js:456:26)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.genieacs.com/pipermail/users/attachments/20170214/8a677171/attachment.html>


More information about the Users mailing list