Closed yavuzhankeles closed 6 years ago
First copy the config.json.template
file to config.json
and edit it as needed. Then run the service.
Hi Thank you.
Now I am getting such a mistake.
root@ajenti:/var/www/fusionpbx/cti/node_modules/modesl/examples/channels# ./bin/channels Option log level is not valid. Please refer to the README.
/var/www/fusionpbx/cti/node_modules/modesl/examples/channels/lib/api.js:84
socket.set('method', method, function() {
^
TypeError: Object #
What version of socket.io do you have installed (npm ls
).
Hi
This version is installed. socket.io@1.7.4
Try installing 1.3.7
and seeing if that fixes your issue. They may have done a breaking change in a minor version.
Hi
Now I am getting such a mistake.
Missing error handler on socket
.
TypeError: Object #
Ok, if you pull the latest of this repo it should fix the issue you are having. Looks like socket.io broke some APIs I used a long time ago when i originally wrote this.
Going to close this now since I believe it is fixed.
Hello
I am getting the following error.
Please help me with this.
root@ajenti:/var/www/fusionpbx/cti/node_modules/modesl/examples/channels# ./bin/channels
module.js:340 throw err; ^ Error: Cannot find module '../config.json' at Function.Module._resolveFilename (module.js:338:15) at Function.Module._load (module.js:280:25) at Module.require (module.js:364:17) at require (module.js:380:17) at new exports.Api (/var/www/fusionpbx/cti/node_modules/modesl/examples/channels/lib/api.js:10:19) at Object. (/var/www/fusionpbx/cti/node_modules/modesl/examples/channels/bin/channels:4:7)
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)