Ninzore / Wecab

最好的订阅制QQbot
GNU General Public License v3.0
204 stars 18 forks source link

TypeError: Cannot read property 'startsWith' of undefined #34

Closed aran-w closed 3 years ago

aran-w commented 3 years ago

git clone 的,commit 是 be99bc5,部署后无法启动

操作手法 pm2 start ecosystem.config.js --name Wecab

Log:

/opt/Wecab/modules/plugin/twitter.js:1
TypeError: Cannot read property 'startsWith' of undefined
    at setAgent (/opt/Wecab/modules/plugin/twitter.js:65:26)
    at Object.<anonymous> (/opt/Wecab/modules/plugin/twitter.js:829:1)
    at Generator.next (<anonymous>)
    at Object.<anonymous> (/opt/Wecab/main.js:1)
    at Generator.next (<anonymous>)
aran-w commented 3 years ago

试过改config.json里关于proxy的设定,空/http/socks都一样会有这个报错

Ninzore commented 3 years ago

没事,是我SB了,等下

Ninzore commented 3 years ago

没问题了 https://github.com/Ninzore/Wecab/commit/79a99ddd4aede97d078e486072918513951892f0

aran-w commented 3 years ago

没问题了,感谢~