1. Failed to start native messaging host.
1)可能是 native message host 的权限有问题
解决方法: chmod 755 host.js
2)可能是 host.js 中的 node 命令解释器有误
解决方法: 修改host.js 中第一行的注释, 如: #!/usr/bin/env node
2. Access to the specified native messaging host is forbidden
解决方法: Chrome/NativeMessagingHosts/xxx.json 里的allowed_origins 错误