plewin / tp-link-modem-router

Goodies for TP-Link modem routers
GNU General Public License v3.0
82 stars 17 forks source link

api-bridge config error message #15

Closed abalzi closed 2 years ago

abalzi commented 2 years ago

Hi

I'm try to run the api-bridge by the follow command: root@pippo:/usr/local/sms/tp-link-modem-router# ./api-bridge.js --config=/usr/local/sms/tp-link-modem-router/config.json but I receive the below error message: {"message":"Config file /usr/local/sms/tp-link-modem-router/config.json could not be read, exiting","level":"info"}

The file permission are: -rw-r--r-- 1 root root 1016 Sep 25 20:05 config.json

Do you have suggestion to solve?

abalzi commented 2 years ago

I solved there was some wrong char in the conf file.