You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
SwitchHosts! HTTP server listening on port 50761!
SyntaxError: Unexpected end of JSON input
at JSON.parse ()
at io.pReadFile.then.cnt (/home/user/work/SwitchHosts-linux-x64/resources/app.asar/server/actions/getPref.js:18:21)
at
at process._tickCallback (internal/process/next_tick.js:188:7)
at Function.Module.runMain (module.js:607:11)
at startup (bootstrap_node.js:167:16)
at bootstrap_node.js:589:3
getSysHosts: /etc/hosts
SyntaxError: Unexpected end of JSON input
at JSON.parse ()
at io.pReadFile.then.cnt (/home/user/work/SwitchHosts-linux-x64/resources/app.asar/server/actions/getPref.js:18:21)
at
stat: launch
SwitchHosts! HTTP server listening on port 50761!
SyntaxError: Unexpected end of JSON input
at JSON.parse (<anonymous>)
at io.pReadFile.then.cnt (/opt/SwitchHosts/resources/app.asar/server/actions/getPref.js:18:21)
at <anonymous>
at process._tickCallback (internal/process/next_tick.js:188:7)
at Object.<anonymous> (/opt/SwitchHosts/resources/app.asar/main.js:104:7)
at Object.<anonymous> (/opt/SwitchHosts/resources/app.asar/main.js:162:3)
at Module._compile (module.js:569:30)
at Object.Module._extensions..js (module.js:580:10)
at Module.load (module.js:503:32)
at tryModuleLoad (module.js:466:12)
System (Mac, Windows 7/8/10, Linux) / 操作系统
ubunto18.04
SwitchHosts! Version / SwitchHosts! 版本
SwitchHosts-linux-x64_v3.3.11.5347
Description / 描述
SwitchHosts! HTTP server listening on port 50761!
SyntaxError: Unexpected end of JSON input
at JSON.parse ()
at io.pReadFile.then.cnt (/home/user/work/SwitchHosts-linux-x64/resources/app.asar/server/actions/getPref.js:18:21)
at
at process._tickCallback (internal/process/next_tick.js:188:7)
at Function.Module.runMain (module.js:607:11)
at startup (bootstrap_node.js:167:16)
at bootstrap_node.js:589:3
getSysHosts: /etc/hosts
SyntaxError: Unexpected end of JSON input
at JSON.parse ()
at io.pReadFile.then.cnt (/home/user/work/SwitchHosts-linux-x64/resources/app.asar/server/actions/getPref.js:18:21)
at
stat: launch
How to reproduce / 重现步骤
1 添加快捷方式
2 启动,弹出应用窗口和 terminal 提示 上面的错误
The text was updated successfully, but these errors were encountered: