电子注册协议不起作用

时间:2017-06-07 02:31:34

标签: node.js electron

我正在尝试这个:

https://electron.atom.io/docs/api/protocol/

我收到了这个错误:

https://google.com/#q=standard%2Fno-callback-literal  Unexpected literal in error position of callback

为什么不起作用?

1 个答案:

答案 0 :(得分:-2)

解决方法是安装它,以便回调可以工作:

https://github.com/xjamundx/eslint-plugin-standard